Add very hacky level loading.
[tabakrolletjie.git] / tabakrolletjie / gamestate.py
index 6f7f5c45afe62ac586e7fae86e78876e8177e350..14da6d880f84d5e562cd30867d005b29fa6d7403 100644 (file)
@@ -1,4 +1,17 @@
 """ The game state. """
 
+from .loader import loader
+
+
 class GameState(object):
-    pass
+    def __init__(self):
+        self._state = {
+            "station": None,
+        }
+
+    @property
+    def station(self):
+        return self._state["station"]
+
+    def load_station(self, station):
+        self._state["station"] = loader.load_station(station)