예제 #1
0
 public static void StopGame()
 {
     if (Client != null)
     {
         Client.Disconnect();
         Client = null;
     }
     Game.End();
     Game       = null;
     Dispatcher = null;
     Database.Close();
     IsGameRunning = false;
 }
예제 #2
0
 public static void StopGame()
 {
     if (Client != null)
     {
         Client.Disconnect();
         Client = null;
     }
     if (GameEngine != null)
     {
         GameEngine.End();
     }
     GameEngine    = null;
     Dispatcher    = null;
     IsGameRunning = false;
 }
예제 #3
0
파일: Program.cs 프로젝트: haslo/OCTGN
 public static void StopGame()
 {
     if (Client != null)
     {
         Client.Disconnect();
         Client = null;
     }
     if(GameEngine != null)
         GameEngine.End();
     GameEngine = null;
     Dispatcher = null;
     IsGameRunning = false;
 }
예제 #4
0
파일: Program.cs 프로젝트: 0M3G4/OCTGN
 public static void StopGame()
 {
     if (Client != null)
     {
         Client.Disconnect();
         Client = null;
     }
     Game.End();
     Game = null;
     Dispatcher = null;
     Database.Close();
     IsGameRunning = false;
 }