Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.HighroadEngine.LocalLobbyGameUI Class Reference

This class manages game scene choice and game state in the local lobby scene. More...

Inheritance diagram for MoreMountains.HighroadEngine.LocalLobbyGameUI:

Public Member Functions

virtual void OnLeft ()
 Left button action More...
 
virtual void OnRight ()
 Right button action More...
 
void OnStartGame ()
 Describes what happens when the game starts More...
 

Public Attributes

RectTransform SceneSelectZone
 UI scene select zone. More...
 
Button LeftButton
 the "select previous scene" button More...
 
Button RightButton
 the "select next scene" button More...
 
Text SceneName
 the text object used to display the scene name More...
 
Image SceneImage
 the image object used to display a picture of the target scene More...
 
Button StartGameButton
 the start game button More...
 
Text WaitPlayersText
 the text object used to display the waiting text More...
 
Button BackButton
 

Protected Member Functions

virtual void Start ()
 Initializes states. More...
 
virtual void InitManagers ()
 Initializes managers. More...
 
virtual void InitUI ()
 Initializes links to UI elements. More...
 
virtual void InitStartState ()
 Initializes the start state. More...
 
virtual void Update ()
 At Update, we check if all players are ready More...
 
virtual void ShowSelectedScene ()
 Shows the selected scene. More...
 

Protected Attributes

LocalLobbyManager _localLobbyManager
 
int _currentSceneSelected
 

Detailed Description

This class manages game scene choice and game state in the local lobby scene.

Member Function Documentation

◆ InitManagers()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.InitManagers ( )
protectedvirtual

Initializes managers.

◆ InitStartState()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.InitStartState ( )
protectedvirtual

Initializes the start state.

◆ InitUI()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.InitUI ( )
protectedvirtual

Initializes links to UI elements.

◆ OnLeft()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.OnLeft ( )
virtual

Left button action

◆ OnRight()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.OnRight ( )
virtual

Right button action

◆ OnStartGame()

void MoreMountains.HighroadEngine.LocalLobbyGameUI.OnStartGame ( )

Describes what happens when the game starts

◆ ShowSelectedScene()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.ShowSelectedScene ( )
protectedvirtual

Shows the selected scene.

◆ Start()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.Start ( )
protectedvirtual

Initializes states.

◆ Update()

virtual void MoreMountains.HighroadEngine.LocalLobbyGameUI.Update ( )
protectedvirtual

At Update, we check if all players are ready

Member Data Documentation

◆ _currentSceneSelected

int MoreMountains.HighroadEngine.LocalLobbyGameUI._currentSceneSelected
protected

◆ _localLobbyManager

LocalLobbyManager MoreMountains.HighroadEngine.LocalLobbyGameUI._localLobbyManager
protected

◆ BackButton

Button MoreMountains.HighroadEngine.LocalLobbyGameUI.BackButton

◆ LeftButton

Button MoreMountains.HighroadEngine.LocalLobbyGameUI.LeftButton

the "select previous scene" button

◆ RightButton

Button MoreMountains.HighroadEngine.LocalLobbyGameUI.RightButton

the "select next scene" button

◆ SceneImage

Image MoreMountains.HighroadEngine.LocalLobbyGameUI.SceneImage

the image object used to display a picture of the target scene

◆ SceneName

Text MoreMountains.HighroadEngine.LocalLobbyGameUI.SceneName

the text object used to display the scene name

◆ SceneSelectZone

RectTransform MoreMountains.HighroadEngine.LocalLobbyGameUI.SceneSelectZone

UI scene select zone.

◆ StartGameButton

Button MoreMountains.HighroadEngine.LocalLobbyGameUI.StartGameButton

the start game button

◆ WaitPlayersText

Text MoreMountains.HighroadEngine.LocalLobbyGameUI.WaitPlayersText

the text object used to display the waiting text


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