Ejemplo n.º 1
0
 public ClientGameState(State[,] layout, GameStateBase state, int myIdx)
     : base(state)
 {
     this.blocks = layout;
     this.myPlayerIdx = myIdx;
 }
Ejemplo n.º 2
0
 public GameStateBase(GameStateBase source)
 {
     this.currentTick = source.currentTick;
     this.players = new Player[2];
     this.players[0] = new Player(source.players[0]);
     this.players[1] = new Player(source.players[1]);
 }
 protected GameStateWithLayout(GameStateBase state)
     : base(state)
 {
 }