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