void HandleExitClicked (object sender, System.EventArgs e)
{
if(GameController.Inst.Platform == Platform.Web)
{
Application.Quit ();
}
else
{
if(!GameController.Inst.GameCreated)
{
GameController.Inst.StartGame();
GameController.Inst.SwitchToView(GameController.View.Game);
}
else
GameController.Inst.SwitchToView(GameController.View.Game);
}
}