MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / resetGoal

Method resetGoal

game/state/battle/battleunit.cpp:717–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void BattleUnit::resetGoal()
718{
719 goalPosition = position;
720 goalFacing = facing;
721 atGoal = true;
722}
723
724void BattleUnit::onReachGoal(GameState &state)
725{

Callers 3

initialUnitSpawnMethod · 0.80
updateMethod · 0.80
startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected