Exemplo n.º 1
0
 public GameModel()
 {
     firstSharedField = new NormalField();
     startFieldBlack  = new StartField(firstSharedField);
     startFieldWhite  = new StartField(firstSharedField);
     playerBlack      = new PlayerModel(this, startFieldBlack);
     playerWhite      = new PlayerModel(this, startFieldWhite);
     dices            = new List <DiceModel>();
 }
 public PlayerModel(GameModel gameModel, StartField startField)
 {
     this.gameModel  = gameModel;
     this.startField = startField;
 }