Package ch.epfl.cs107.play.areagame.area
Class AreaPauseMenu
java.lang.Object
ch.epfl.cs107.play.engine.PauseMenu
ch.epfl.cs107.play.areagame.area.AreaPauseMenu
AreaPauseMenu extends standard a Pause menu. It is a context pause menu. Pause menu not of the game
but of a specific area.
When a game is in pause mode, you can update this instead of the currentArea
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.epfl.cs107.play.engine.PauseMenu
PauseMenu.Pausable -
Field Summary
Fields inherited from class ch.epfl.cs107.play.engine.PauseMenu
CAMERA_SCALE_FACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbegin(Window window, FileSystem fileSystem) Initialises game state : display and controls Note: Need to be OverridegetTitle()Getter for game title Note: Need to be Overrideprotected booleanprotected voidSetter for the resume request
-
Constructor Details
-
AreaPauseMenu
public AreaPauseMenu()
-
-
Method Details
-
requestAreaResume
protected void requestAreaResume()Setter for the resume request -
isResumeRequested
protected boolean isResumeRequested()- Returns:
- (boolean): true if the resume is requested
-
begin
Description copied from interface:PlayableInitialises game state : display and controls Note: Need to be Override -
getTitle
Description copied from interface:PlayableGetter for game title Note: Need to be Override
-