Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::BattleStarted Struct Reference

Fired when a battle should start. This does not actually start a battle, but communicates to the current game state that a battle should begin. More...

#include <Battle.hpp>

Public Member Functions

 BattleStarted (std::unique_ptr< battle::Battle > &&battle)
 Construct a new Battle Started event. More...
 

Public Attributes

std::unique_ptr< battle::Battlebattle
 The battle to start. More...
 

Detailed Description

Fired when a battle should start. This does not actually start a battle, but communicates to the current game state that a battle should begin.

Definition at line 17 of file Battle.hpp.

Constructor & Destructor Documentation

◆ BattleStarted()

core::event::BattleStarted::BattleStarted ( std::unique_ptr< battle::Battle > &&  battle)
inline

Construct a new Battle Started event.

Parameters
battleThe battle to start

Definition at line 26 of file Battle.hpp.

Member Data Documentation

◆ battle

std::unique_ptr<battle::Battle> core::event::BattleStarted::battle

The battle to start.

Definition at line 19 of file Battle.hpp.


The documentation for this struct was generated from the following file: