private void StartGameButtonClick()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.GameMenu);
 }
 private void ShowSettingsButtonClick()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.Settings);
 }
示例#3
0
 public static ScreenInterface GetInstance()
 {
     return(_instance ?? (_instance = new ScreenInterface()));
 }
示例#4
0
 private void Call()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.MainMenu);
 }
示例#5
0
 public void Dispose()
 {
     _instance = null;
 }
 private void RestartLevel()
 {
     Services.Instance.LevelLoadService.LoadLevel();
     ScreenInterface.GetInstance().Execute(ScreenType.GameMenu);
 }
 private void EndGameMenuCall()
 {
     ScreenInterface.GetInstance().Execute(ScreenType.EndGameMenu);
 }
示例#8
0
 private void Start()
 {
     _controllers = new Controllers();
     Initialization();
     ScreenInterface.GetInstance().Execute(ScreenType.MainMenu);
 }
示例#9
0
 public InputController()
 {
     _characterData = Data.Instance.Character;
     _enemiesData   = Data.Instance.EnemiesData;
     ScreenInterface.GetInstance().AddObserver(ScreenType.GameMenu, this);
 }