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

Method position

source/game/StarActorMovementController.cpp:514–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514Vec2F ActorMovementController::position() const {
515 if (m_entityAnchor)
516 return m_entityAnchor->position;
517 return MovementController::position();
518}
519
520float ActorMovementController::xPosition() const {
521 return position()[0];

Callers 1

findPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected