Add very hacky level loading.
[tabakrolletjie.git] / tabakrolletjie / gamestate.py
1 """ The game state. """
2
3 from .loader import loader
4
5
6 class GameState(object):
7     def __init__(self):
8         self._state = {
9             "station": None,
10         }
11
12     @property
13     def station(self):
14         return self._state["station"]
15
16     def load_station(self, station):
17         self._state["station"] = loader.load_station(station)