Package plar.core

Examples of plar.core.Level


            if (response.equals(""))
                response = ll.get(0);
            if(response.contains(".")) response = "LevelLoader " + response;
            response = Common.levelPackage + response;
        }
        Level l = loadLevel(response);


        if (l == null)

            Common.message("Failed loading the class "+ response, true,silent);
View Full Code Here


    }

    private static Level loadLevel(String s) {
        String[] split = s.split(" ");
        Level l;
        try {
            @SuppressWarnings("unchecked")
            Class c = Class.forName(split[0]);
            l = (Level) c.newInstance();
           
View Full Code Here

TOP

Related Classes of plar.core.Level

Copyright © 2018 www.massapicom. 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.