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

Method setPosition

source/game/StarNpc.cpp:522–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void Npc::setPosition(Vec2F const& pos) {
523 m_movementController->setPosition(pos);
524}
525
526float Npc::maxHealth() const {
527 return *m_statusController->resourceMax("health");

Callers 15

spawnInCellMethod · 0.45
moveMethod · 0.45
placeVehicleMethod · 0.45
spawnNpcMethod · 0.45
spawnStagehandMethod · 0.45
soundsFromDefinitionFunction · 0.45
renderMethod · 0.45
renderMethod · 0.45
initMethod · 0.45
hitOtherMethod · 0.45
renderMethod · 0.45
setInitialPositionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected