Esempio n. 1
0
 public void NewGame(UInt16 index, GameLogic game)
 {
     NewGameQueue.Enqueue(new InOutGameElement {
         Index = index, GameObj = game
     });
 }
Esempio n. 2
0
 public static void CreateInstance(GameStateServer gameState)
 {
     Instance = new GameLogic(gameState);
 }
Esempio n. 3
0
 public void SendIntoGame(string playerName)
 {
     Player = new Player(Id, playerName);
     _game  = new Thread(() => GameLogic.PlayGame(this));
     _game.Start();
 }