public OldMainViewModel() { for (int i = Global.NB_TILES / 2 - 5; i < Global.NB_TILES / 2 + 5; ++i) { for (int k = 0; k < 10; ++k) { AddBoardTileLeft(i); AddBoardTileRight(i); } } Dealer = new LandDealer(this, 48); Dealer.FreshDeck(); PlayingTiles.Add(GenerateNewPlayingTile()); RefreshBoard(); }
private void Accept() { CurrentTile.PlaceOnBoard(); PlayingTiles.Add(GenerateNewPlayingTile()); RefreshBoard(); }