예제 #1
0
        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);
        }
예제 #2
0
 public void ChangeArt(TileArtVariant artVariant)
 {
     this.tileArt             = artVariant;
     this.tileBkgImage.sprite = tileArt.normalTile;
     ChangeSprite();
 }