1 #ifndef CORE_EVENTS_BATTLE_HPP
2 #define CORE_EVENTS_BATTLE_HPP
19 std::unique_ptr<battle::Battle>
battle;
Core classes and functionality for both the editor and game.
Type
Represents the different types of battles. Affects only the intro.
Represents the result of a battle.
Fired when a battle should start. This does not actually start a battle, but communicates to the curr...
std::unique_ptr< battle::Battle > battle
The battle to start.
BattleStarted(std::unique_ptr< battle::Battle > &&battle)
Construct a new Battle Started event.
Fired when a battle finishes.
BattleCompleted(battle::Battle::Type type, battle::Result &&result)
Construct a new Battle Completed event.
const battle::Battle::Type type
The type of battle that was completed.
const battle::Result result
The result of the battle.