Пример #1
0
 void JoinEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     ScreenManager.AddScreen(new InsertIPAddressNetworkGameScreen("Ip Address"), e.PlayerIndex);
 }
Пример #2
0
 void exitGameMenuEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     Game.Exit();
 }
Пример #3
0
 void CreateEntry_Selected(object sender, PlayerIndexEventArgs e)
 {
     ScreenManager.AddScreen(new SelectBlackWhiteNetworkGameMenuScreen(), e.PlayerIndex);
 }
Пример #4
0
 /// <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);
 }