MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getFaceDirection

Method getFaceDirection

src/Savegame/BattleUnit.cpp:372–375  ·  view source on GitHub ↗

* Gets the BattleUnit's (horizontal) face direction. * Used only during strafing moves. * @return face direction */

Source from the content-addressed store, hash-verified

370 * @return face direction
371 */
372int BattleUnit::getFaceDirection() const
373{
374 return _faceDirection;
375}
376
377/**
378 * Gets the BattleUnit's turret direction.

Callers 1

thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected