19 #ifndef OPENXCOM_EXPLOSIONBSTATE_H
20 #define OPENXCOM_EXPLOSIONBSTATE_H
22 #include "BattleState.h"
29 class BattlescapeGame;
46 bool _areaOfEffect, _lowerWeapon, _pistolWhip;
Represents a single item in the battlescape.
Definition: BattleItem.h:40
This class sets the battlescape in a certain sub-state.
Definition: BattleState.h:35
Represents a moving unit in the battlescape, player controlled or AI controlled it holds info about i...
Definition: BattleUnit.h:59
Battlescape game - the core game engine of the battlescape game.
Definition: BattlescapeGame.h:71
Explosion state not only handles explosions, but also bullet impacts! Refactoring tip : ImpactBState.
Definition: ExplosionBState.h:39
ExplosionBState(BattlescapeGame *parent, Position center, BattleItem *item, BattleUnit *unit, Tile *tile=0, bool lowerWeapon=false)
Creates a new ExplosionBState class.
Definition: ExplosionBState.cpp:52
void think()
Runs state functionality every cycle.
Definition: ExplosionBState.cpp:174
std::string getResult() const
Gets the result of the state.
void init()
Initializes the state.
Definition: ExplosionBState.cpp:70
~ExplosionBState()
Cleans up the ExplosionBState.
Definition: ExplosionBState.cpp:60
void cancel()
Handles a cancel request.
Definition: ExplosionBState.cpp:198
Easy handling of X-Y-Z coordinates.
Definition: Position.h:31
Basic element of which a battle map is build.
Definition: Tile.h:44
COPYING:
Definition: BaseInfoState.cpp:41