Examples of DungeonGenerator


Examples of net.bytten.metazelda.generators.DungeonGenerator

                cons.setMaxSwitches(0);
           
            constraints = cons;
        }
       
        DungeonGenerator generator;
        if (getArg("switches") != null) {
            generator = new DungeonGenerator(new StdoutLogger(), seed, constraints);
        } else {
            generator = new LinearDungeonGenerator(new StdoutLogger(), seed,
                    constraints);
        }
        if (getArg("no-goal") != null) {
            generator.setGenerateGoal(false);
        }
        return generator;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.