Exemplo n.º 1
0
        public SuburbanGenerator()
        {
            // using sample constraint set until constraint stuff is finished
            Constraints = new ConstraintSet();

            // Temporary constraints until we add building grammar
            Constraints.Add("LivingRooms", new MinMax(1, 1));
            Constraints.Add("AreaLivingRooms", new MinMax(400, 500));

            Constraints.Add("BedRooms", new MinMax(1, 2));
            Constraints.Add("AreaBedRooms", new MinMax(400, 500));

            Constraints.Add("Bathrooms", new MinMax(0, 1));
            Constraints.Add("AreaBathrooms", new MinMax(200, 200));

            Constraints.Add("Kitchens", new MinMax(0, 1));
            Constraints.Add("AreaKitchens", new MinMax(200, 200));

            Constraints.Add("ExtraRoom", new MinMax(0, 1));
            Constraints.Add("AreaCloset", new MinMax(100, 100));
        }