// The game selection buttons public void SelectGame(int value) { EventDispatcher.SendEvent(EventName.GameSelect, value); // value = ID game UIRoot.Close(gameObject); }
public void Close() { UIRoot.Close(gameObject); }
public void NextPic() { UIRoot.Close(gameObject); Game.image = Content.currentGame.GetNextPic(Game.image); EventDispatcher.SendEvent(EventName.BoardStartGame, Game.image); }
// button MainMenu public void BackMainMenu() { UIRoot.Close(gameObject); UIRoot.Load(WindowName.Win_MainMenu); }
public void Replay() { UIRoot.Close(gameObject); EventDispatcher.SendEvent(EventName.BoardStartGame, Game.image); }