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

Method setPosition

source/game/StarItemDrop.cpp:371–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void ItemDrop::setPosition(Vec2F const& position) {
372 m_movementController.setPosition(position);
373}
374
375Vec2F ItemDrop::velocity() const {
376 return m_movementController.velocity();

Callers 4

createRandomizedDropMethod · 0.45
throwDropMethod · 0.45
ItemDropMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected