diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/EntityEvent.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/EntityEvent.java index 94b1b29..f6e7dcb 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/EntityEvent.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/EntityEvent.java @@ -1,6 +1,7 @@ package uulm.teamname.marvelous.gamelibrary.events; import uulm.teamname.marvelous.gamelibrary.IntVector2; +import uulm.teamname.marvelous.gamelibrary.entities.Entity; import uulm.teamname.marvelous.gamelibrary.entities.EntityID; import java.util.Objects; @@ -10,6 +11,7 @@ public class EntityEvent extends Event { public EntityID targetEntity = null; public IntVector2 targetField = null; public Integer amount = null; + public Entity entity = null; public EntityEvent setTargetEntity(EntityID targetEntity) { this.targetEntity = targetEntity;