Exemplo n.º 1
0
        public Door createDoor(DoorData data)
        {
            if (data == null)
            {
                return(null);
            }
            var door = createDoor();

            door.Locked = data.locked;
            return(door);
        }
Exemplo n.º 2
0
 public WallData(bool vertical = false, DoorData doorData = null, WallType type = WallType.Default)
 {
     this.vertical = vertical;
     this.doorData = doorData;
     this.type     = type;
 }