Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1494
void Player::aim(Vec2F const& position) {
1495
m_techController->setAimPosition(position);
1496
m_aimPosition = position;
1497
}
1498
1499
Vec2F Player::aimPosition() const {
1500
return m_aimPosition;
Callers
1
preUpdate
Method · 0.80
Calls
1
setAimPosition
Method · 0.80
Tested by
no test coverage detected