aboutsummaryrefslogtreecommitdiff
path: root/game_state.wren
diff options
context:
space:
mode:
Diffstat (limited to 'game_state.wren')
-rw-r--r--game_state.wren17
1 files changed, 17 insertions, 0 deletions
diff --git a/game_state.wren b/game_state.wren
new file mode 100644
index 0000000..94e8a99
--- /dev/null
+++ b/game_state.wren
@@ -0,0 +1,17 @@
+class GameState {
+ construct new() {
+
+ }
+
+ switch(level) {
+ _currentLevel = level.new()
+ }
+
+ update() {
+ _currentLevel.update()
+ }
+
+ draw(dt) {
+ _currentLevel.draw(dt)
+ }
+} \ No newline at end of file