![]() |
OpenXcom
1.0
Open-source clone of the original X-Com
|
State for walking units. More...
#include <UnitWalkBState.h>
Public Member Functions | |
| UnitWalkBState (BattlescapeGame *parent, BattleAction _action) | |
| Creates a new UnitWalkBState class. More... | |
| ~UnitWalkBState () | |
| Cleans up the UnitWalkBState. More... | |
| void | init () |
| Initializes the state. | |
| void | cancel () |
| Handles a cancels request. More... | |
| void | think () |
| Runs state functionality every cycle. | |
Public Member Functions inherited from OpenXcom::BattleState | |
| BattleState (BattlescapeGame *parent, BattleAction action) | |
| Creates a new BattleState linked to the game. More... | |
| BattleState (BattlescapeGame *parent) | |
| Creates a new BattleState linked to the game. More... | |
| virtual | ~BattleState () |
| Cleans up the BattleState. More... | |
| BattleAction | getAction () const |
| Gets a copy of the action. More... | |
State for walking units.
| OpenXcom::UnitWalkBState::UnitWalkBState | ( | BattlescapeGame * | parent, |
| BattleAction | action | ||
| ) |
Creates a new UnitWalkBState class.
Sets up an UnitWalkBState.
| parent | Pointer to the Battlescape. |
| action | Pointer to an action. |
| OpenXcom::UnitWalkBState::~UnitWalkBState | ( | ) |
Cleans up the UnitWalkBState.
Deletes the UnitWalkBState.
|
virtual |
1.8.14