* Sets the height of a tile. * * This function sets the height of the northern corner of a tile. * * @param tile The tile to change the height * @param height The new height value of the tile * @pre tile < Map::Size() * @pre height <= MAX_TILE_HEIGHT */
| 55 | * @pre height <= MAX_TILE_HEIGHT |
| 56 | */ |
| 57 | inline void SetTileHeight(Tile tile, uint height) |
| 58 | { |
| 59 | assert(tile < Map::Size()); |
| 60 | assert(height <= MAX_TILE_HEIGHT); |
| 61 | tile.height() = height; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Returns the height of a tile in pixels. |
no outgoing calls
no test coverage detected