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