projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fitings category.
[tabakrolletjie.git]
/
tabakrolletjie
/
gamestate.py
diff --git
a/tabakrolletjie/gamestate.py
b/tabakrolletjie/gamestate.py
index b77e97913129d574b02da2a2a79bc365c4db916b..14da6d880f84d5e562cd30867d005b29fa6d7403 100644
(file)
--- a/
tabakrolletjie/gamestate.py
+++ b/
tabakrolletjie/gamestate.py
@@
-1,5
+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)