hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/states/config_state.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 00:02:01 +0200
committerhachem <im@hachem.wtf>2025-08-14 00:02:01 +0200
commit1b251bd174527951eec220ecbcb7eca89328e5b8 (patch)
treec47632a340b4cbdd97812f8c92798fc36146558c /src/states/config_state.h
parent1ac0f136629ce4046a5f6529cf3d1e51e96df408 (diff)
feat: state manager
Diffstat (limited to 'src/states/config_state.h')
-rw-r--r--src/states/config_state.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/states/config_state.h b/src/states/config_state.h
new file mode 100644
index 0000000..35a3001
--- /dev/null
+++ b/src/states/config_state.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "core/state.h"
+#include "core/event.h"
+#include "core/log.h"
+
+namespace Donut
+{
+ class ConfigState
+ : public State
+ {
+ public:
+ ~ConfigState() = default;
+
+ void on_enter() override;
+ void on_exit() override;
+ void on_update(float delta_time) override;
+ void on_render() override;
+ void on_event(Event& event) override;
+ };
+};