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