Exemple #1
0
 public void Assign(GameLogic logic)
 {
     _game = logic;
 }
Exemple #2
0
 public GameThread(GameLogic game)
 {
     this.game = game;
     Thread    = new Thread(run);
 }
Exemple #3
0
 /// <summary>
 ///     Executes the phase itself. Contains the implementation of the phase. Time based events go here
 /// </summary>
 /// <param name="game">The game "in" which the phase is running</param>
 /// <returns>the next phase</returns>
 protected abstract GamePhase Run(GameLogic game);