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

Method destroy

game/state/shared/agent.cpp:1444–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442}
1443
1444void Agent::destroy()
1445{
1446 leftHandItem = nullptr;
1447 rightHandItem = nullptr;
1448 while (!equipment.empty())
1449 {
1450 GameState state;
1451 this->removeEquipment(state, equipment.front());
1452 }
1453}
1454
1455} // namespace OpenApoc

Callers 3

~StateRefMapMethod · 0.45
~GameStateMethod · 0.45
fillSquadsMethod · 0.45

Calls 2

removeEquipmentMethod · 0.95
emptyMethod · 0.80

Tested by

no test coverage detected