 |
OpenXcom
1.0
Open-source clone of the original X-Com
|
19 #ifndef OPENXCOM_UNITWALKBSTATE_H
20 #define OPENXCOM_UNITWALKBSTATE_H
23 #include "BattleState.h"
24 #include "BattlescapeGame.h"
45 bool _beforeFirstStep;
47 void postPathProcedures();
49 void setNormalWalkSpeed();
51 void playMovementSound();
52 std::size_t _numUnitsSpotted;
COPYING:
Definition: BaseInfoState.cpp:41
~UnitWalkBState()
Cleans up the UnitWalkBState.
Definition: UnitWalkBState.cpp:57
void setTarget(Position target)
Sets the target to walk to.
State for walking units.
Definition: UnitWalkBState.h:38
A utility class that calculates the shortest path between two points on the battlescape map.
Definition: Pathfinding.h:38
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:35
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:71
Represents a moving unit in the battlescape, player controlled or AI controlled it holds info about i...
Definition: BattleUnit.h:59
void think()
Runs state functionality every cycle.
Definition: UnitWalkBState.cpp:84
void init()
Initializes the state.
Definition: UnitWalkBState.cpp:65
Definition: BattlescapeGame.h:46
Easy handling of X-Y-Z coordinates.
Definition: Position.h:31
A utility class that modifies tile properties on a battlescape map.
Definition: TileEngine.h:41
UnitWalkBState(BattlescapeGame *parent, BattleAction _action)
Creates a new UnitWalkBState class.
Definition: UnitWalkBState.cpp:49
void cancel()
Handles a cancels request.
Definition: UnitWalkBState.cpp:462