summaryrefslogtreecommitdiff
path: root/gfx/camera_controller.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 23:47:30 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 23:47:30 +0000
commit1686a01b6ae7467e71eac247078248de4a3b3423 (patch)
tree53716ce767b1b775dc06f658a41a647bddbbeac1 /gfx/camera_controller.h
parentMove TickDuration to its own files (diff)
downloadilt-1686a01b6ae7467e71eac247078248de4a3b3423.tar.bz2
ilt-1686a01b6ae7467e71eac247078248de4a3b3423.tar.xz
ilt-1686a01b6ae7467e71eac247078248de4a3b3423.zip
Refactor to start splitting out UI components
Diffstat (limited to 'gfx/camera_controller.h')
-rw-r--r--gfx/camera_controller.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gfx/camera_controller.h b/gfx/camera_controller.h
index 926c93b..e6fc16d 100644
--- a/gfx/camera_controller.h
+++ b/gfx/camera_controller.h
@@ -1,12 +1,16 @@
#ifndef CAMERA_CONTROLLER_H
#define CAMERA_CONTROLLER_H
-#include <game/worldobject.h>
+#include <special_members.hpp>
class Camera;
-class CameraController : public WorldObject {
+class CameraController {
public:
+ CameraController() = default;
+ virtual ~CameraController() = default;
+ DEFAULT_MOVE_COPY(CameraController);
+
virtual void updateCamera(Camera *) const = 0;
};