api: move isDead from NPC to Actor
This commit is contained in:
@@ -259,4 +259,11 @@ public interface Actor extends Renderable
|
||||
* @param overheadText the overhead text
|
||||
*/
|
||||
void setOverheadText(String overheadText);
|
||||
|
||||
/**
|
||||
* Returns true if this actor has died
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isDead();
|
||||
}
|
||||
|
||||
@@ -68,11 +68,4 @@ public interface NPC extends Actor
|
||||
*/
|
||||
@Nullable
|
||||
NPCComposition getTransformedComposition();
|
||||
|
||||
/**
|
||||
* Returns true if this NPC has died
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isDead();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user