mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-11 17:18:37 +08:00
Add EntityDeathEvent and implementations
This commit is contained in:
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user