| 452 | } |
| 453 | |
| 454 | bool PathFinder::validPosition(Vec2F pos, BoundBoxKind boundKind) const { |
| 455 | return !m_world->rectTileCollision(RectI::integral(boundBox(pos, boundKind)), CollisionSolid); |
| 456 | } |
| 457 | |
| 458 | bool PathFinder::onGround(Vec2F pos, BoundBoxKind boundKind) const { |
| 459 | auto groundRect = groundCollisionRect(pos, boundKind); |
nothing calls this directly
no test coverage detected