| 91 | return getDamageFromImpl(fromType, toType, fromPlayer, toPlayer); |
| 92 | } |
| 93 | int Game::getDamageTo(UnitType toType, UnitType fromType, Player toPlayer, Player fromPlayer) const |
| 94 | { |
| 95 | // Get self if fromPlayer not provided |
| 96 | if ( fromPlayer == nullptr ) |
| 97 | fromPlayer = this->self(); |
| 98 | |
| 99 | return getDamageFromImpl(fromType, toType, fromPlayer, toPlayer); |
| 100 | } |
| 101 | //-------------------------------------- BUILD LOCATION -------------------------------------------- |
| 102 | const int MAX_RANGE = 64; |
| 103 | class PlacementReserve |
nothing calls this directly
no test coverage detected