use of com.mygdx.game.states.GameStateManager in project myFirstGame by Juicebox47.
the class MyFirstGame method create.
@Override
public void create() {
spriteBatch = new SpriteBatch();
gameStateManager = new GameStateManager(new Stack<State>(), new OrthographicCamera(), new Vector3());
Gdx.gl.glClearColor(0, 0, 0, 0);
gameStateManager.push(new MenuState(gameStateManager));
}
Aggregations