Commit 47f33533 authored by KingRainbow44's avatar KingRainbow44
Browse files

Add entity event base class

parent 20b2554e
package emu.grasscutter.server.event.types;
import emu.grasscutter.game.entity.GameEntity;
import emu.grasscutter.server.event.Event;
/**
* An event that is related to entity interactions.
*/
public abstract class EntityEvent extends Event {
protected final GameEntity entity;
public EntityEvent(GameEntity player) {
this.entity = player;
}
public GameEntity getEntity() {
return this.entity;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment