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

Method onSolidGround

source/game/StarPlatformerAStar.cpp:473–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471 }
472
473 bool PathFinder::onSolidGround(Vec2F pos) const {
474 return m_world->rectTileCollision(groundCollisionRect(pos, BoundBoxKind::Drop), CollisionSolid);
475 }
476
477 bool PathFinder::inLiquid(Vec2F pos) const {
478 RectF box = boundBox(pos);

Callers

nothing calls this directly

Calls 1

rectTileCollisionMethod · 0.45

Tested by

no test coverage detected