Package com.googlecode.jumpnevolve.tests.game

Source Code of com.googlecode.jumpnevolve.tests.game.LevelTest

package com.googlecode.jumpnevolve.tests.game;

import com.googlecode.jumpnevolve.game.Level;
import com.googlecode.jumpnevolve.game.Levelloader;
import com.googlecode.jumpnevolve.graphics.SlickEngine;

public class LevelTest {

  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();
  }
}
TOP

Related Classes of com.googlecode.jumpnevolve.tests.game.LevelTest

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.