summaryrefslogtreecommitdiff
path: root/game/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/environment.h')
-rw-r--r--game/environment.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/game/environment.h b/game/environment.h
new file mode 100644
index 0000000..62eedb8
--- /dev/null
+++ b/game/environment.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "worldobject.h"
+
+class SceneRenderer;
+class SceneProvider;
+
+class Environment : public WorldObject {
+public:
+ Environment();
+ void tick(TickDuration elapsed) override;
+ void render(const SceneRenderer &, const SceneProvider &) const;
+
+private:
+ time_t worldTime;
+};