// add the box to our list of boxes
enemies.add(boxBody);
}
// we are done, all that's left is disposing the boxPoly
boxPoly.dispose();
}
public void initRender() {
Gdx.graphics.getGL20().glViewport(0, 0, Gdx.graphics.getWidth(),
Gdx.graphics.getHeight());