예제 #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);
 }