hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/state.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-23 17:11:45 +0200
committerhachem <im@hachem.wtf>2026-08-23 17:11:45 +0200
commitb72762fd3fa3735c12146e8c702f03000317db6f (patch)
tree0f326d6a2cbc9fca46ae8870fd4c724a06840e96 /src/core/state.h
parentfb9968dfe89fcd52fbfd7bc72ce14af18237beaa (diff)
refactor: drop the engine, states and Metal code
Diffstat (limited to 'src/core/state.h')
-rw-r--r--src/core/state.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/core/state.h b/src/core/state.h
deleted file mode 100644
index 623f1c2..0000000
--- a/src/core/state.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-
-#include "event.h"
-
-namespace Donut
-{
- class State
- {
- public:
- virtual ~State() = default;
-
- virtual auto on_enter() -> void = 0;
- virtual auto on_exit() -> void = 0;
- virtual auto on_update(float delta_time) -> void = 0;
- virtual auto on_render() -> void = 0;
- virtual auto on_im_ui_render() -> void = 0;
- virtual auto on_event(Event& event) -> void = 0;
- };
-};