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;
A utility class that modifies tile properties on a battlescape map.
Definition: TileEngine.h:40
UnitWalkBState(BattlescapeGame *parent, BattleAction _action)
Creates a new UnitWalkBState class.
Definition: UnitWalkBState.cpp:49
Definition: BattlescapeGame.h:45
~UnitWalkBState()
Cleans up the UnitWalkBState.
Definition: UnitWalkBState.cpp:57
void init()
Initializes the state.
Definition: UnitWalkBState.cpp:65
void cancel()
Handles a cancels request.
Definition: UnitWalkBState.cpp:462
void setTarget(Position target)
Sets the target to walk to.
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:34
State for walking units.
Definition: UnitWalkBState.h:37
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:70
A utility class that calculates the shortest path between two points on the battlescape map...
Definition: Pathfinding.h:37
Easy handling of X-Y-Z coordinates.
Definition: Position.h:30
void think()
Runs state functionality every cycle.
Definition: UnitWalkBState.cpp:84
Represents a moving unit in the battlescape, player controlled or AI controlled it holds info about i...
Definition: BattleUnit.h:58