| 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.Player; | |
| 6 | ||
| 7 | public class PlayerCollisionWithWallsEvent extends Event { | |
| 8 | ||
| 9 | private final Player player; | |
| 10 | ||
| 11 | public PlayerCollisionWithWallsEvent(double dt, App app, Player player) { | |
| 12 | super(dt, app); | |
| 13 | ||
| 14 | this.player = player; | |
| 15 | } | |
| 16 | ||
| 17 | public Player getPlayer() { | |
| 18 |
1
1. getPlayer : replaced return value with null for g0803/bindingofshiba/events/game/PlayerCollisionWithWallsEvent::getPlayer → KILLED |
return player; |
| 19 | } | |
| 20 | } | |
Mutations | ||
| 18 |
1.1 |