Interface ClientBattleAnimationPlayback
public interface ClientBattleAnimationPlayback
Client-side handle for a visible animation effect started by the server.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NONE
-
-
Method Details
-
cleanup
Creates playback that only runs cleanup when stopped.- Parameters:
cleanup- the cleanup action to run- Returns:
- a cleanup-only playback handle
-
tick
void tick()Advances this client playback by one client tick. -
stop
void stop()Stops this playback and releases any client-side state it owns. -
isFinished
default boolean isFinished()Returns whether this client playback is complete.- Returns:
truewhen playback is finished
-