Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ hitPoly
Method
hitPoly
source/game/StarNpc.cpp:317–319 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
315
}
316
317
Maybe<PolyF> Npc::hitPoly() const {
318
return m_movementController->collisionBody();
319
}
320
321
List<DamageNotification> Npc::applyDamage(DamageRequest const& damage) {
322
if (!inWorld())
Callers
2
hitOther
Method · 0.45
queryHit
Method · 0.45
Calls
1
collisionBody
Method · 0.45
Tested by
no test coverage detected