Exemple #1
0
        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();
        }
Exemple #2
0
 public void Remove(Tile tile)
 {
     Children.Remove(tile);
 }
Exemple #3
0
 public void Add(Tile tile)
 {
     Children.Add(tile);
 }