projects
/
tabakrolletjie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Refactor mould drawing code. Use shape_query for lighting information
[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)