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 | import g0803.bindingofshiba.model.game.elements.Projectile; | |
7 | ||
8 | public class ProjectileCollisionWithMonsterEvent extends Event { | |
9 | ||
10 | private final Projectile projectile; | |
11 | private final Monster monster; | |
12 | ||
13 | public ProjectileCollisionWithMonsterEvent( | |
14 | double dt, App app, Projectile projectile, Monster monster) { | |
15 | super(dt, app); | |
16 | ||
17 | this.projectile = projectile; | |
18 | this.monster = monster; | |
19 | } | |
20 | ||
21 | public Projectile getProjectile() { | |
22 |
1
1. getProjectile : replaced return value with null for g0803/bindingofshiba/events/game/ProjectileCollisionWithMonsterEvent::getProjectile → KILLED |
return projectile; |
23 | } | |
24 | ||
25 | public Monster getMonster() { | |
26 |
1
1. getMonster : replaced return value with null for g0803/bindingofshiba/events/game/ProjectileCollisionWithMonsterEvent::getMonster → KILLED |
return monster; |
27 | } | |
28 | } | |
Mutations | ||
22 |
1.1 |
|
26 |
1.1 |