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

Method kill

source/game/StarPlayer.cpp:467–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467void Player::kill() {
468 m_statusController->setResource("health", 0);
469}
470
471bool Player::wireToolInUse() const {
472 return (bool)as<WireTool>(m_tools->primaryHandItem());

Callers 2

suicideMethod · 0.80
WaitMethod · 0.80

Calls 1

setResourceMethod · 0.45

Tested by 1

WaitMethod · 0.64