Class PauseMenuFactory
java.lang.Object
com.csse3200.game.entities.factories.PauseMenuFactory
Factory to create the pause menu and attach its components.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createPauseMenu
(GdxGame game) Creates the pause menu, if no previously made pause menu still exists.
-
Constructor Details
-
PauseMenuFactory
public PauseMenuFactory()
-
-
Method Details
-
createPauseMenu
Creates the pause menu, if no previously made pause menu still exists.- Parameters:
game
- The Gdx Game that handles screen changes- Returns:
- entity, or null if no entity was created
-