Package com.googlecode.jumpnevolve.game

Examples of com.googlecode.jumpnevolve.game.Level


  public static void main(String[] args) {

    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


    super.poll(input, secounds);
    if (lastRoundClicked && interfaceOver
        && currentOver.equals(lastClicked)) {
      String load = this.getFileName(currentOver);
      if (load != null) {
        Level newLevel = Levelloader.asyncLoadLevel(load);
        newLevel.getPlayer().setParentMenu(this.parent);
        Engine.getInstance().switchState(newLevel);
      }
    }
  }
View Full Code Here

    this.levels.put(name, path);
  }

  public void start(String name) {
    String path = this.levels.get(name);
    Level level = Levelloader.asyncLoadLevel(this.loader.source + "!"
        + path);
    Engine.getInstance().switchState(level);
  }
View Full Code Here

TOP

Related Classes of com.googlecode.jumpnevolve.game.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.