Class GameMenuUI
java.lang.Object
fr.paris.saclay.sidescroller.controllers.components.menu.GameMenuUI
View class of GameMenu class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
displayNormalMenu
(GameMenuModel model) Display initial menu after animation concludes.int
Gets current animation.void
Draws GameMenu: menu container book and title.void
Updates the menu background during animation.
-
Constructor Details
-
GameMenuUI
public GameMenuUI()
-
-
Method Details
-
updateImage
public void updateImage()Updates the menu background during animation. -
getCurrentAnimation
public int getCurrentAnimation()Gets current animation.- Returns:
- the current animation