internal void SetTile(TileModel tile, int height)
 {
     if (Element == null)
         Element = new TileUnitElement
         {
             Tile = tile.Id,
             Height = height
         };
     else
     {
         Element.Tile = tile.Id;
         Element.Height = height;
     }
     Updated?.Invoke();
 }
 public TileUnitElementModel(TileUnitElement[] elements, int index)
 {
     _elements = elements;
     _index = index;
 }