DoopelPonger
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
UIKeyboardControllerContextManager Class Reference

Container that holds the relationship between the context names and the contexts. More...

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

Classes

struct  UIKeyboardControllerContextInspector
 Struct used so that contexts can be configured in the inspector. More...
 

Public Types

enum  UIKeyboardControllerContextName {
  UIKeyboardControllerContextName.MAIN_MENU, UIKeyboardControllerContextName.SUBMENU_SINGLE_PLAYER, UIKeyboardControllerContextName.SUBMENU_COOP, UIKeyboardControllerContextName.SUBMENU_SETTINGS,
  UIKeyboardControllerContextName.PAUSE_MENU, UIKeyboardControllerContextName.LOSE_MENU, UIKeyboardControllerContextName.WIN_MENU, UIKeyboardControllerContextName.TUTORIAL_PAUSED
}
 Available context names used by the UIKeyboardControllerContext. More...
 

Public Member Functions

void Awake ()
 Convert the contexts array to a mapping of context name to context data. More...
 
UIKeyboardControllerContext GetContext (UIKeyboardControllerContextName contextName)
 

Public Attributes

UIKeyboardControllerContextInspector [] contexts
 

Detailed Description

Container that holds the relationship between the context names and the contexts.

Member Enumeration Documentation

◆ UIKeyboardControllerContextName

Available context names used by the UIKeyboardControllerContext.

Enumerator
MAIN_MENU 
SUBMENU_SINGLE_PLAYER 
SUBMENU_COOP 
SUBMENU_SETTINGS 
PAUSE_MENU 
LOSE_MENU 
WIN_MENU 
TUTORIAL_PAUSED 

Member Function Documentation

◆ Awake()

void UIKeyboardControllerContextManager.Awake ( )

Convert the contexts array to a mapping of context name to context data.

◆ GetContext()

UIKeyboardControllerContext UIKeyboardControllerContextManager.GetContext ( UIKeyboardControllerContextName  contextName)
Parameters
contextNameThe context name to get the context for.
Returns
The UIKeyboardControllerContext that corresponds to the contextName.

Member Data Documentation

◆ contexts

UIKeyboardControllerContextInspector [] UIKeyboardControllerContextManager.contexts

The list of contexts used throughout the game.


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