MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setDirection

Method setDirection

source/game/StarObject.cpp:335–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void Object::setDirection(Direction direction) {
336 m_direction.set(direction);
337}
338
339void Object::updateOrientation() {
340 setOrientationIndex(m_config->findValidOrientation(world(), tilePosition(), m_direction.get()));

Callers 5

tickSharedMethod · 0.45
updateMethod · 0.45
updateStatusMethod · 0.45
createForPlacementMethod · 0.45
tickSharedMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected