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

Method canBeUsed

game/state/shared/aequipment.cpp:447–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447bool AEquipment::canBeUsed(GameState &state) const
448{
449 if (ownerAgent)
450 {
451 return type->canBeUsed(state, ownerAgent->owner);
452 }
453 return true;
454}
455
456void AEquipment::update(GameState &state, unsigned int ticks)
457{

Callers 9

getFirstShieldMethod · 0.45
getMaxShieldMethod · 0.45
getShieldMethod · 0.45
finishBattleMethod · 0.45
getAttackDecisionMethod · 0.45
displayItemMethod · 0.45
tryPickUpItemMethod · 0.45
tryPlaceItemMethod · 0.45
orderUseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected