more setup stuff
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
package de.samdev.cannonshooter;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.g2d.BitmapFont;
|
||||
|
||||
import de.samdev.absgdx.framework.AgdxGame;
|
||||
import de.samdev.cannonshooter.level.StandardLevel;
|
||||
|
||||
public class CannonGame extends AgdxGame {
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
// TODO Auto-generated method stub
|
||||
Textures.init();
|
||||
|
||||
pushLayer(new StandardLevel(this));
|
||||
|
||||
setDebugFont(new BitmapFont(Gdx.files.internal("consolefont.fnt")));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user