コード例 #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);
 }