hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/states/config_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/states/config_state.cpp')
-rw-r--r--src/states/config_state.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/states/config_state.cpp b/src/states/config_state.cpp
new file mode 100644
index 0000000..8ea33ca
--- /dev/null
+++ b/src/states/config_state.cpp
@@ -0,0 +1,29 @@
+#include "config_state.h"
+#include "rendering/renderer.h"
+
+namespace Donut
+{
+ void ConfigState::on_enter()
+ {
+ DONUT_INFO("Entering Config State");
+ }
+
+ void ConfigState::on_exit()
+ {
+ DONUT_INFO("Exiting Config State");
+ }
+
+ void ConfigState::on_update(float delta_time)
+ {
+ }
+
+ void ConfigState::on_render()
+ {
+ Renderer::set_clear_color({ 0.1f, 0.1f, 0.2f, 1.0f });
+ Renderer::clear();
+ }
+
+ void ConfigState::on_event(Event& event)
+ {
+ }
+}