Exemplo n.º 1
0
 private void ShowSettingsButtonClick()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.Settings);
 }
Exemplo n.º 2
0
 private void StartGameButtonClick()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.GameMenu);
 }
Exemplo n.º 3
0
 public void Dispose()
 {
     _instance = null;
 }
Exemplo n.º 4
0
 public static ScreenInterface GetInstance()
 {
     return(_instance ?? (_instance = new ScreenInterface()));
 }
Exemplo n.º 5
0
 private void Call()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.MainMenu);
 }