* Set a unit on this tile. * @param unit * @param tileBelow */
| 623 | * @param tileBelow |
| 624 | */ |
| 625 | void Tile::setUnit(BattleUnit *unit, Tile *tileBelow) |
| 626 | { |
| 627 | if (unit != 0) |
| 628 | { |
| 629 | unit->setTile(this, tileBelow); |
| 630 | } |
| 631 | _unit = unit; |
| 632 | } |
| 633 | |
| 634 | /** |
| 635 | * Set the amount of turns this tile is on fire. 0 = no fire. |
no test coverage detected