Package com.csse3200.game.overlays
Class PauseOverlay
java.lang.Object
com.csse3200.game.overlays.Overlay
com.csse3200.game.overlays.PauseOverlay
Represents an overlay that is displayed when the game is paused.
game services.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.csse3200.game.overlays.Overlay
Overlay.OverlayType
-
Field Summary
Fields inherited from class com.csse3200.game.overlays.Overlay
overlayType
-
Constructor Summary
ConstructorsConstructorDescriptionPauseOverlay
(PausableScreen screen, GdxGame game) Constructs an overlay instance and initializes its UI components. -
Method Summary
Methods inherited from class com.csse3200.game.overlays.Overlay
add, getNewActiveOverlayList, remove
-
Constructor Details
-
PauseOverlay
Constructs an overlay instance and initializes its UI components.
-
-
Method Details
-
rest
public void rest()Handles the resting state of the overlay. This method is called when the overlay is put into a resting state. -
wake
public void wake()Handles the waking state of the overlay. This method is called when the overlay is brought to the foreground.
-