* Changes the BattleUnit's (horizontal) direction. * Only used for initial unit placement. * @param direction new horizontal direction */
| 339 | * @param direction new horizontal direction |
| 340 | */ |
| 341 | void BattleUnit::setDirection(int direction) |
| 342 | { |
| 343 | _direction = direction; |
| 344 | _toDirection = direction; |
| 345 | _directionTurret = direction; |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * Changes the BattleUnit's (horizontal) face direction. |
no outgoing calls
no test coverage detected