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 TilePresenterViewModel(TileModel tile)
 {
     Tile = tile;
 }
 public void AddTile(TileModel tile)
 {
     if (!_tiles.Contains(tile))
         _tiles.Add(tile);
 }