Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
717
void BattleUnit::resetGoal()
718
{
719
goalPosition = position;
720
goalFacing = facing;
721
atGoal = true;
722
}
723
724
void BattleUnit::onReachGoal(GameState &state)
725
{
Callers
3
initialUnitSpawn
Method · 0.80
update
Method · 0.80
start
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected