Package com.googlecode.jumpnevolve.graphics

Examples of com.googlecode.jumpnevolve.graphics.SlickEngine.switchState()


    SlickEngine engine = SlickEngine.getInstance();
    engine.setTargetFrameRate(100);

    Level level = Levelloader
        .asyncLoadLevel("resources/levels/up-to-the-sky.txt");
    engine.switchState(level);

    engine.start();
  }
}
View Full Code Here


    World world = new World(1000, 300, 1);
    world.setZoom(3000);

    world.add(new Ground(world, new Vector(300, 300), new Vector(800, 20)));

    engine.switchState(world);

    engine.start();
  }
}
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.