예제 #1
0
 public static DlgGameLobby JoinGame(SpaceSiegeGame game)
 {
     DlgGameLobby lobby = new DlgGameLobby(game);
     lobby.chatPanel.gpgChatGrid.Refresh();
     return lobby;
 }
예제 #2
0
 public static DlgGameLobby HostGame()
 {
     SpaceSiegeGame game = new SpaceSiegeGame(new SpaceSiegeGameParticipant(User.Current.Name, User.Current.ID));
     game.Host.Position = 0;
     DlgGameLobby lobby = new DlgGameLobby(game);
     lobby.chatPanel.gpgChatGrid.Refresh();
     return lobby;
 }