protected Pen Pen; // background color #endregion Fields #region Constructors public Tile(int row, int column, Room room, Tile parent = null) { Room = room; Identity = room.Area.Name + ":" + room.Name; Root = parent; InitializeComponent(); SetColor(); }
public void Remove(Tile tile) { Children.Remove(tile); }
public void Add(Tile tile) { Children.Add(tile); }