public GraphicsEngine(GLAutoDrawable canvas, int FPS, TextureBatch textures)
	{
		if(textures == null) {
			this.batch = new TextureBatch();
		} else {
			this.batch = textures;
		}
		this.currentSurface = canvas;
		this.animator = new FPSAnimator(canvas,FPS);
		this.camera = new Camera2D();
		canvas.addGLEventListener(this);
	}