Entity.isDead returns true if the entity has been marked for removal
This commit is contained in:
parent
c5fbd41659
commit
446dfee6d5
@ -103,6 +103,11 @@ public interface Entity {
|
|||||||
*/
|
*/
|
||||||
public void remove();
|
public void remove();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if this entity has been marked for removal.
|
||||||
|
*/
|
||||||
|
public boolean isDead();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link Server} that contains this Entity
|
* Gets the {@link Server} that contains this Entity
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user