| 1 | package g0803.bindingofshiba.events.game; | |
| 2 | ||
| 3 | import g0803.bindingofshiba.App; | |
| 4 | import g0803.bindingofshiba.events.Event; | |
| 5 | import g0803.bindingofshiba.model.game.elements.Monster; | |
| 6 | ||
| 7 | public class MonsterCollisionWithWallsEvent extends Event { | |
| 8 | ||
| 9 | private final Monster monster; | |
| 10 | ||
| 11 | public MonsterCollisionWithWallsEvent(double dt, App app, Monster monster) { | |
| 12 | super(dt, app); | |
| 13 | ||
| 14 | this.monster = monster; | |
| 15 | } | |
| 16 | ||
| 17 | public Monster getMonster() { | |
| 18 |
1
1. getMonster : replaced return value with null for g0803/bindingofshiba/events/game/MonsterCollisionWithWallsEvent::getMonster → KILLED |
return monster; |
| 19 | } | |
| 20 | } | |
Mutations | ||
| 18 |
1.1 |