Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.badlogic.gdx.Game;
- import com.badlogic.gdx.backends.gwt.GwtApplication;
- import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
- import com.codemonkey.titanturret.MyGdxGame;
- public class HtmlLauncher extends GwtApplication
- {
- MyGdxGame test = null;
- @Override
- public GwtApplicationConfiguration getConfig ()
- {
- GwtApplicationConfiguration cfg = new GwtApplicationConfiguration(480, 320);
- cfg.useDebugGL=true;
- return cfg;
- }
- @Override
- public Game getApplicationListener ()
- {
- if(test == null)
- {
- test = new MyGdxGame();
- }
- return test;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement