19 #ifndef OPENXCOM_BATTLESTATE_H
20 #define OPENXCOM_BATTLESTATE_H
23 #include "BattlescapeGame.h"
28 class BattlescapeGame;
Definition: BattlescapeGame.h:45
virtual ~BattleState()
Cleans up the BattleState.
Definition: BattleState.cpp:49
virtual void cancel()
Handles a cancel request.
Definition: BattleState.cpp:65
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:34
virtual void think()
Runs state functionality every cycle.
Definition: BattleState.cpp:74
BattleAction getAction() const
Gets a copy of the action.
Definition: BattleState.cpp:83
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:70
virtual void init()
Initializes the state.
Definition: BattleState.cpp:57
BattleState(BattlescapeGame *parent, BattleAction action)
Creates a new BattleState linked to the game.
Definition: BattleState.cpp:29