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

Method setFaceDirection

src/Savegame/BattleUnit.cpp:353–356  ·  view source on GitHub ↗

* Changes the BattleUnit's (horizontal) face direction. * Only used for strafing moves. * @param direction new face direction */

Source from the content-addressed store, hash-verified

351 * @param direction new face direction
352 */
353void BattleUnit::setFaceDirection(int direction)
354{
355 _faceDirection = direction;
356}
357
358/**
359 * Gets the BattleUnit's (horizontal) direction.

Callers 1

thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected