public void Initialize(Board board, Tile tile, TileArtVariant artVariant) { this.board = board; this.tile = tile; int row = tile.RowNum(); int col = tile.ColNum(); ChangeArt(artVariant); SetPosition(row, col); }
public void ChangeArt(TileArtVariant artVariant) { this.tileArt = artVariant; this.tileBkgImage.sprite = tileArt.normalTile; ChangeSprite(); }