--------------------------------------------- GET INITIAL TILE POSITION ----------------------------------
| 119 | } |
| 120 | //--------------------------------------------- GET INITIAL TILE POSITION ---------------------------------- |
| 121 | TilePosition UnitImpl::getInitialTilePosition() const |
| 122 | { |
| 123 | if ( initialPosition == Positions::None ) |
| 124 | return TilePositions::None; |
| 125 | return TilePosition(initialPosition - Position(initialType.tileSize())/2); |
| 126 | } |
| 127 | //--------------------------------------------- GET INITIAL HIT POINTS ------------------------------------- |
| 128 | int UnitImpl::getInitialHitPoints() const |
| 129 | { |
no test coverage detected