benthillerkus_SpaceLovers/GameWorld.pde
class GameWorld extends LayerManager<Layer> {
    Camera camera;
    
    GameWorld(Camera camera) {
        this.camera = camera;
    }
    
    @Override
    protected void draw() {
        pushMatrix();
        translate(width / 2, height / 2);
        scale(pixelFactor);
        translate( -camera.position.x, -camera.position.y);
        rotate(camera.angle);
        scale(camera.scale);
        super.draw();
        popMatrix();
    }
}