19 #ifndef OPENXCOM_UNITTURNBSTATE_H
20 #define OPENXCOM_UNITTURNBSTATE_H
22 #include "BattleState.h"
Definition: BattlescapeGame.h:45
void cancel()
Handles a cancels request.
Definition: UnitTurnBState.cpp:134
void think()
Runs state functionality every cycle.
Definition: UnitTurnBState.cpp:96
std::string getResult() const
Gets the result of the state.
~UnitTurnBState()
Cleans up the UnitTurnBState.
Definition: UnitTurnBState.cpp:48
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:34
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:70
UnitTurnBState(BattlescapeGame *parent, BattleAction action)
Creates a new UnitTurnBState class.
Definition: UnitTurnBState.cpp:40
void init()
Initializes the state.
Definition: UnitTurnBState.cpp:56
State for turning units.
Definition: UnitTurnBState.h:33
Represents a moving unit in the battlescape, player controlled or AI controlled it holds info about i...
Definition: BattleUnit.h:58