* Adds a Direction to a tile. * * @param tile The current tile * @param dir The direction in which we want to step * @return the moved tile */
| 610 | * @return the moved tile |
| 611 | */ |
| 612 | inline TileIndex TileAddByDir(TileIndex tile, Direction dir) |
| 613 | { |
| 614 | return TileAdd(tile, TileOffsByDir(dir)); |
| 615 | } |
| 616 | |
| 617 | /** |
| 618 | * Adds a DiagDir to a tile. |
no test coverage detected