api: add actor overhead cycle accessors

This commit is contained in:
Adam
2021-06-21 22:35:24 -04:00
parent 2ba352f69a
commit 2aa272f24d

View File

@@ -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
*