Add EntityDeathEvent and implementations

This commit is contained in:
KingRainbow44
2022-07-24 13:20:42 -04:00
Unverified
parent a13725b1cb
commit 886c2e2f43
7 changed files with 50 additions and 20 deletions
@@ -8,11 +8,11 @@ public abstract class EntityBaseGadget extends GameEntity {
public EntityBaseGadget(Scene scene) {
super(scene);
}
public abstract int getGadgetId();
@Override
public void onDeath(int killerId) {
super.onDeath(killerId); // Invoke super class's onDeath() method.
}
}