void JoinEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     ScreenManager.AddScreen(new InsertIPAddressNetworkGameScreen("Ip Address"), e.PlayerIndex);
 }
Exemple #2
0
 void exitGameMenuEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     Game.Exit();
 }
 void CreateEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     ScreenManager.AddScreen(new SelectBlackWhiteNetworkGameMenuScreen(), e.PlayerIndex);
 }
 /// <summary>
 /// Helper overload makes it easy to use OnCancel as a MenuEntry event handler.
 /// </summary>
 protected void OnExit(object sender, PlayerIndexEventArgs e)
 {
     OnExit(e.PlayerIndex);
 }