summaryrefslogtreecommitdiff
path: root/ui/manualCameraController.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/manualCameraController.h')
-rw-r--r--ui/manualCameraController.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/manualCameraController.h b/ui/manualCameraController.h
index 2f955e7..6501762 100644
--- a/ui/manualCameraController.h
+++ b/ui/manualCameraController.h
@@ -6,15 +6,14 @@
#include <glm/glm.hpp>
#include <maths.h>
-class UIShader;
class Camera;
class ManualCameraController : public CameraController, public UIComponent {
public:
- explicit ManualCameraController(GlobalPosition2D f) : UIComponent {{}}, focus {f} { }
+ explicit ManualCameraController(GlobalPosition2D f) : focus {f} { }
- bool handleInput(const SDL_Event & e, const Position &) override;
- void render(const UIShader &, const Position & parentPos) const override;
+ bool handleInput(const SDL_Event & e) override;
+ void render() override;
void updateCamera(Camera * camera) const override;