diff options
author | afforess <afforess@gmail.com> | 2011-04-02 01:07:41 -0400 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-04-02 17:20:05 +0200 |
commit | 446dfee6d53b25218f6a47446ba562433d898387 (patch) | |
tree | f3ff641edbc7aa92fbc4564b22acb9fd991df631 /src | |
parent | c5fbd41659aaef95346fe31f9665b1a0c9222964 (diff) | |
download | bukkit-446dfee6d53b25218f6a47446ba562433d898387.tar bukkit-446dfee6d53b25218f6a47446ba562433d898387.tar.gz bukkit-446dfee6d53b25218f6a47446ba562433d898387.tar.lz bukkit-446dfee6d53b25218f6a47446ba562433d898387.tar.xz bukkit-446dfee6d53b25218f6a47446ba562433d898387.zip |
Entity.isDead returns true if the entity has been marked for removal
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/entity/Entity.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java index 987c7cd3..8689c924 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -104,6 +104,11 @@ public interface Entity { public void remove(); /** + * Returns true if this entity has been marked for removal. + */ + public boolean isDead(); + + /** * Gets the {@link Server} that contains this Entity * * @return Server instance running this Entity |