api: add GraphicsObject finished setter
This commit is contained in:
@@ -72,4 +72,10 @@ public interface GraphicsObject extends Renderable
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
boolean finished();
|
boolean finished();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set if this spotanim is done animating. If finished, the spotanim will despawn next frame.
|
||||||
|
* @param finished
|
||||||
|
*/
|
||||||
|
void setFinished(boolean finished);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user