Package game
Class GUIControl
java.lang.Object
game.GUIControl
Methods for controlling the interaction between the main thread and the GUI, if a GUI is present.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
startAnimation
(Maybe<GUI> gui) Register that an animation is starting on the GUI, if the GUI is present.static void
waitForAnimation
(Maybe<GUI> gui) Wait until the GUI animation, if any, is complete.
-
Method Details
-
startAnimation
Register that an animation is starting on the GUI, if the GUI is present. It is the job of the GUI to stop the animation. -
waitForAnimation
Wait until the GUI animation, if any, is complete.
-