20 #include "BattleState.h" 26 class BattlescapeGame;
Definition: BattlescapeGame.h:43
void think()
Runs state functionality every cycle.
Definition: MeleeAttackBState.cpp:134
void resolveHit()
Determine if the attack hit, and if so, do stuff.
Definition: MeleeAttackBState.cpp:219
void performMeleeAttack()
Performs a melee attack.
Definition: MeleeAttackBState.cpp:189
Represents a single item in the battlescape.
Definition: BattleItem.h:37
void init()
Initializes the state.
Definition: MeleeAttackBState.cpp:58
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:29
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:68
~MeleeAttackBState()
Cleans up the MeleeAttackBState.
Definition: MeleeAttackBState.cpp:50
Easy handling of X-Y-Z coordinates.
Definition: Position.h:28
A Melee Attack state.
Definition: MeleeAttackBState.h:34
Represents a moving unit in the battlescape, player controlled or AI controlled it holds info about i...
Definition: BattleUnit.h:59
Definition: BaseInfoState.cpp:40
MeleeAttackBState(BattlescapeGame *parent, BattleAction action)
Creates a new MeleeAttackBState class.
Definition: MeleeAttackBState.cpp:43