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

Method BattleState

src/Battlescape/BattleState.cpp:29–32  ·  view source on GitHub ↗

* Sets up a BattleState. * @param parent Pointer to the parent state. * @param action Struct containing info about the action. */

Source from the content-addressed store, hash-verified

27 * @param action Struct containing info about the action.
28 */
29BattleState::BattleState(BattlescapeGame *parent, BattleAction action) : _parent(parent), _action(action)
30{
31
32}
33
34/**
35 * Sets up a BattleState.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected