From e806d41c8703ddc4bcaf2186d0c1701bd1e1ada3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 22 Dec 2021 12:16:38 +0000 Subject: Initial commit with some basic UI --- ui/manualCameraController.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ui/manualCameraController.cpp') diff --git a/ui/manualCameraController.cpp b/ui/manualCameraController.cpp index 1d3a067..568c547 100644 --- a/ui/manualCameraController.cpp +++ b/ui/manualCameraController.cpp @@ -5,7 +5,7 @@ #include bool -ManualCameraController::handleInput(const SDL_Event & e) +ManualCameraController::handleInput(const SDL_Event & e, const Position &) { switch (e.type) { case SDL_KEYDOWN: @@ -58,6 +58,11 @@ ManualCameraController::handleInput(const SDL_Event & e) return false; } +void +ManualCameraController::render(const UIShader &, const Position &) const +{ +} + void ManualCameraController::updateCamera(Camera * camera) const { -- cgit v1.2.3