| 241 | } |
| 242 | |
| 243 | Maybe<PolyF> Monster::hitPoly() const { |
| 244 | PolyF hitBody = m_monsterVariant.selfDamagePoly; |
| 245 | hitBody.rotate(m_movementController->rotation()); |
| 246 | hitBody.translate(position()); |
| 247 | return hitBody; |
| 248 | } |
| 249 | |
| 250 | List<DamageNotification> Monster::applyDamage(DamageRequest const& damage) { |
| 251 | if (!inWorld()) |