MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / UnitTurnBState

Method UnitTurnBState

src/Battlescape/UnitTurnBState.cpp:40–43  ·  view source on GitHub ↗

* Sets up an UnitTurnBState. * @param parent Pointer to the Battlescape. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

38 * @param action Pointer to an action.
39 */
40UnitTurnBState::UnitTurnBState(BattlescapeGame *parent, BattleAction action) : BattleState(parent, action), _unit(0), _turret(false)
41{
42
43}
44
45/**
46 * Deletes the UnitTurnBState.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected