DoopelPonger
Public Member Functions | Public Attributes | List of all members
UIPauseManager Class Reference

Code to bring up and turn off the pause menu while playing the game. More...

Inheritance diagram for UIPauseManager:
Inheritance graph
[legend]
Collaboration diagram for UIPauseManager:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initialize all event listeneres and references. More...
 
void Pause ()
 Force the pause menu to show up. More...
 
void Unpause ()
 Force the pause menu to go away. More...
 

Public Attributes

string inputManagerTag
 
UIKeyboardController keyboardController
 
EventManager.EventType [] eventsToDeactivateOn
 
EventManager.EventType [] eventsToActivateOn
 
EventManager.EventType resumeEvent
 

Detailed Description

Code to bring up and turn off the pause menu while playing the game.

Member Function Documentation

◆ Awake()

void UIPauseManager.Awake ( )

Initialize all event listeneres and references.

◆ Pause()

void UIPauseManager.Pause ( )

Force the pause menu to show up.

◆ Unpause()

void UIPauseManager.Unpause ( )

Force the pause menu to go away.

Member Data Documentation

◆ eventsToActivateOn

EventManager.EventType [] UIPauseManager.eventsToActivateOn

Events to turn on the pause menu.

◆ eventsToDeactivateOn

EventManager.EventType [] UIPauseManager.eventsToDeactivateOn

Events to turn off the pause menu.

◆ inputManagerTag

string UIPauseManager.inputManagerTag

Unique identifier to send to the InputManager when registering callbacks.

◆ keyboardController

UIKeyboardController UIPauseManager.keyboardController

Reference to the keyboard controller for the pause menu.

◆ resumeEvent

EventManager.EventType UIPauseManager.resumeEvent

Event published that continues gameplay and the pause menu should deactivate but be ready to show up when pause is pressed.


The documentation for this class was generated from the following file: