diff --git a/core/src/com/me/common/ecs/Entity.java b/core/src/com/me/common/ecs/Entity.java index 4d06012..e7d975a 100644 --- a/core/src/com/me/common/ecs/Entity.java +++ b/core/src/com/me/common/ecs/Entity.java @@ -34,6 +34,10 @@ public final class Entity { return active; } + public boolean isRemoved() { + return removed; + } + public void activate() { active = true; refresh(); @@ -106,4 +110,8 @@ public final class Entity { this.uniqueId = nextUniqueId++; } + public String toString() { + return "Entity[id=" + id + ", uniqueId=" + uniqueId + "]"; + } + }