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