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

Method UnitPanicBState

src/Battlescape/UnitPanicBState.cpp:31–34  ·  view source on GitHub ↗

* Sets up an UnitPanicBState. * @param parent Pointer to the Battlescape. * @param unit Panicking unit. */

Source from the content-addressed store, hash-verified

29 * @param unit Panicking unit.
30 */
31UnitPanicBState::UnitPanicBState(BattlescapeGame *parent, BattleUnit *unit) : BattleState(parent), _unit(unit)
32{
33 // nothing to see here
34}
35
36/**
37 * Deletes the UnitPanicBState.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected