summaryrefslogtreecommitdiffstats
path: root/src/game.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.rs')
-rw-r--r--src/game.rs15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/game.rs b/src/game.rs
index 36ed4b8..ab04b21 100644
--- a/src/game.rs
+++ b/src/game.rs
@@ -1,4 +1,15 @@
+pub struct State {
+ pub running: bool
+}
+
+
+
+pub fn new() -> State {
+ return State {
+ running: true,
+ };
+}
+
+pub fn update(state: &mut State) {
-pub fn start() {
-
} \ No newline at end of file