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

Method aim

source/game/StarPlayer.cpp:1494–1497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1492}
1493
1494void Player::aim(Vec2F const& position) {
1495 m_techController->setAimPosition(position);
1496 m_aimPosition = position;
1497}
1498
1499Vec2F Player::aimPosition() const {
1500 return m_aimPosition;

Callers 1

preUpdateMethod · 0.80

Calls 1

setAimPositionMethod · 0.80

Tested by

no test coverage detected