private void StartGameButtonClick() { ScreenInterface.GetInstance().Execute(ScreenType.GameMenu); }
private void ShowSettingsButtonClick() { ScreenInterface.GetInstance().Execute(ScreenType.Settings); }
public static ScreenInterface GetInstance() { return(_instance ?? (_instance = new ScreenInterface())); }
private void Call() { ScreenInterface.GetInstance().Execute(ScreenType.MainMenu); }
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); }
private void Start() { _controllers = new Controllers(); Initialization(); ScreenInterface.GetInstance().Execute(ScreenType.MainMenu); }
public InputController() { _characterData = Data.Instance.Character; _enemiesData = Data.Instance.EnemiesData; ScreenInterface.GetInstance().AddObserver(ScreenType.GameMenu, this); }