Package net.sertik.genesia.screen

Examples of net.sertik.genesia.screen.MainGame


//      ResourceLoader resourceLoader = new PolygonResourceLoader(game.getWorld());
      ResourceLoader resourceLoader = new ImageResourceLoader(game.getWorld());
//      Renderer renderer = new SimpleRenderer();
      Renderer renderer = new QuadTreeRenderer(resourceLoader, game.getWorld());

      MainGame mainGame = new MainGame(this, renderer, screenWidth, screenHeight);

      mainGame.render();
      mainScene.setRoot(mainGame);
      stage.setWidth(screenWidth);
      stage.setHeight(screenHeight);
      stage.setScene(mainScene);
    } else {
View Full Code Here

TOP

Related Classes of net.sertik.genesia.screen.MainGame

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.