Class PauseMenuTimeStopComponent

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.pausemenu.PauseMenuTimeStopComponent

public class PauseMenuTimeStopComponent extends Component
Handles the pausing/resuming of time when the pause menu is brought up/put away.
  • Constructor Details

    • PauseMenuTimeStopComponent

      public PauseMenuTimeStopComponent()
  • Method Details

    • create

      public void create()
      Handles the pausing of the game entities when the pause menu is made.
      Overrides:
      create in class Component
    • dispose

      public void dispose()
      Handles the un-pausing of the game entities when the pause menu is closed. Also notifies the pause menu factory that the pause menu is being disposed.
      Overrides:
      dispose in class Component