| 1 | package g0803.bindingofshiba.model.game.elements; | |
| 2 | ||
| 3 | import g0803.bindingofshiba.math.Vec2D; | |
| 4 | ||
| 5 | public class Projectile extends MoveableElement { | |
| 6 | ||
| 7 | private final float damage; | |
| 8 | ||
| 9 | public Projectile(Vec2D position, float damage) { | |
| 10 | super(position); | |
| 11 | this.damage = damage; | |
| 12 | } | |
| 13 | ||
| 14 | public float getDamage() { | |
| 15 |
1
1. getDamage : replaced float return with 0.0f for g0803/bindingofshiba/model/game/elements/Projectile::getDamage → NO_COVERAGE |
return damage; |
| 16 | } | |
| 17 | } | |
Mutations | ||
| 15 |
1.1 |