projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t pushMerge branch 'master' of ctpug.org.za:tabakrolletjie
[tabakrolletjie.git]
/
tabakrolletjie
/
gamestate.py
diff --git
a/tabakrolletjie/gamestate.py
b/tabakrolletjie/gamestate.py
index 6f7f5c45afe62ac586e7fae86e78876e8177e350..14da6d880f84d5e562cd30867d005b29fa6d7403 100644
(file)
--- a/
tabakrolletjie/gamestate.py
+++ b/
tabakrolletjie/gamestate.py
@@
-1,4
+1,17
@@
""" The game state. """
""" The game state. """
+from .loader import loader
+
+
class GameState(object):
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)