示例#1
0
 public void AddConnection(RoomNode otherNode, bool changeParent)
 {
     connections.Add(otherNode);
     if (changeParent)
     {
         otherNode.parent = this;
     }
     otherNode.IncreaseDoorCount();
 }