@Override public void init() { Chunk.setGenerator(4); super.init(); AbstractCharacter player = (AbstractCharacter) AbstractEntity.getInstance(40, 0, Map.getCenter(Map.getGameHeight())); player.setControls("WASD"); setPlayer(player); // addCamera( // new WECamera( // getPlayer(), // 0, //left // 0, //top // Gdx.graphics.getWidth(), //width // Gdx.graphics.getHeight()//height // ) // ); addCamera( new WECamera( 0, // left 0, // top Gdx.graphics.getWidth(), // width Gdx.graphics.getHeight() // height )); setMinimap(new Minimap(this, getCameras().get(0), Gdx.graphics.getWidth() - 400, 10)); // useLightEngine(Gdx.graphics.getWidth()/2, Gdx.graphics.getHeight()/2); }