aboutsummaryrefslogtreecommitdiff
path: root/src/States/ConfigState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/States/ConfigState.cpp')
-rw-r--r--src/States/ConfigState.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/States/ConfigState.cpp b/src/States/ConfigState.cpp
new file mode 100644
index 0000000..5d2e0aa
--- /dev/null
+++ b/src/States/ConfigState.cpp
@@ -0,0 +1,29 @@
+#include "ConfigState.h"
+#include "Rendering/Renderer.h"
+
+namespace Donut
+{
+ void ConfigState::OnEnter()
+ {
+ DONUT_INFO("Entering Config State");
+ }
+
+ void ConfigState::OnExit()
+ {
+ DONUT_INFO("Exiting Config State");
+ }
+
+ void ConfigState::OnUpdate(float deltaTime)
+ {
+ }
+
+ void ConfigState::OnRender()
+ {
+ Renderer::SetClearColor({ 0.1f, 0.1f, 0.2f, 1.0f });
+ Renderer::Clear();
+ }
+
+ void ConfigState::OnEvent(Event& event)
+ {
+ }
+}