Package net.sertik.genesia.render

Examples of net.sertik.genesia.render.QuadTreeRenderer


  public void askNextPlayerName(int player) {
    if (player == 3 || game.getPlayers().get(player).getComputer()) {
//      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);
View Full Code Here

TOP

Related Classes of net.sertik.genesia.render.QuadTreeRenderer

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.