ProjectileSpawnedEvent.java

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
Location : getProjectile
Killed by : none
replaced return value with null for g0803/bindingofshiba/events/game/ProjectileSpawnedEvent::getProjectile → NO_COVERAGE

25

1.1
Location : getRoom
Killed by : none
replaced return value with null for g0803/bindingofshiba/events/game/ProjectileSpawnedEvent::getRoom → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.7.0