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