Skip to content

Instantly share code, notes, and snippets.

@NimbusBP1729
Created January 9, 2014 09:46
Show Gist options
  • Save NimbusBP1729/8331815 to your computer and use it in GitHub Desktop.
Save NimbusBP1729/8331815 to your computer and use it in GitHub Desktop.
public static final void initGdx() {
GdxNativesLoader.load();
Gdx.graphics = mock(Graphics.class);
Gdx.audio = mock(Audio.class);
Gdx.gl = mock(GLCommon.class);
Gdx.gl10 = mock(GL10.class);
Gdx.gl11 = mock(GL11.class);
Gdx.gl20 = mock(GL20.class);
Gdx.input = mock(Input.class);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment