| 1 | package g0803.bindingofshiba.events; | |
| 2 | ||
| 3 | import g0803.bindingofshiba.App; | |
| 4 | ||
| 5 | public class CancellableEvent extends Event { | |
| 6 | ||
| 7 | private boolean cancelled = false; | |
| 8 | ||
| 9 | public CancellableEvent(double dt, App app) { | |
| 10 | super(dt, app); | |
| 11 | } | |
| 12 | ||
| 13 | public boolean isCancelled() { | |
| 14 |
2
1. isCancelled : replaced boolean return with false for g0803/bindingofshiba/events/CancellableEvent::isCancelled → KILLED 2. isCancelled : replaced boolean return with true for g0803/bindingofshiba/events/CancellableEvent::isCancelled → KILLED |
return cancelled; |
| 15 | } | |
| 16 | ||
| 17 | public void setCancelled(boolean cancelled) { | |
| 18 | this.cancelled = cancelled; | |
| 19 | } | |
| 20 | } | |
Mutations | ||
| 14 |
1.1 2.2 |