| 159 | } |
| 160 | |
| 161 | Maybe<HitType> Vehicle::queryHit(DamageSource const& source) const { |
| 162 | if (source.intersectsWithPoly(world()->geometry(), m_movementController.collisionBody())) |
| 163 | return HitType::Hit; |
| 164 | |
| 165 | return {}; |
| 166 | } |
| 167 | |
| 168 | Maybe<PolyF> Vehicle::hitPoly() const { |
| 169 | return m_movementController.collisionBody(); |
nothing calls this directly
no test coverage detected