api: add actor overhead cycle accessors
This commit is contained in:
@@ -347,6 +347,20 @@ public interface Actor extends Renderable
|
||||
*/
|
||||
void setOverheadText(String overheadText);
|
||||
|
||||
/**
|
||||
* Get the number of cycles/client ticks remaining before the overhead text is timed out
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
int getOverheadCycle();
|
||||
|
||||
/**
|
||||
* Set the number of cycles/client ticks before the overhead text is timed out
|
||||
*
|
||||
* @param cycles
|
||||
*/
|
||||
void setOverheadCycle(int cycles);
|
||||
|
||||
/**
|
||||
* Returns true if this actor has died
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user