Class PauseMenuFactory

java.lang.Object
com.csse3200.game.entities.factories.PauseMenuFactory

public class PauseMenuFactory extends Object
Factory to create the pause menu and attach its components.
  • Constructor Details

    • PauseMenuFactory

      public PauseMenuFactory()
  • Method Details

    • createPauseMenu

      public static Entity createPauseMenu(GdxGame game)
      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