Class PauseMenuTimeStopComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.pausemenu.PauseMenuTimeStopComponent
Handles the pausing/resuming of time when the pause menu is brought up/put away.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.csse3200.game.components.Component
earlyUpdate, getEntity, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate, update
-
Constructor Details
-
PauseMenuTimeStopComponent
public PauseMenuTimeStopComponent()
-
-
Method Details
-
create
public void create()Handles the pausing of the game entities when the pause menu is made. -
dispose
public void dispose()Handles the un-pausing of the game entities when the pause menu is closed. Also notifies the pause menu factory that the pause menu is being disposed.
-