projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eb98f
)
Automatically load a station for now.
author
Simon Cross
<hodgestar@gmail.com>
Tue, 6 Sep 2016 18:53:36 +0000
(20:53 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Tue, 6 Sep 2016 18:53:36 +0000
(20:53 +0200)
tabakrolletjie/scenes/menu.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/scenes/menu.py
b/tabakrolletjie/scenes/menu.py
index 33bb0ef8ae393d6f9d12e788c2ee3e5a5f76cef2..ed7cc3194ff34105a08ef3c5c1630f549502502a 100644
(file)
--- a/
tabakrolletjie/scenes/menu.py
+++ b/
tabakrolletjie/scenes/menu.py
@@
-7,6
+7,11
@@
from ..events import QuitEvent, SceneChangeEvent
class MenuScene(BaseScene):
+ def enter(self, gamestate):
+ if gamestate.station is None:
+ print "Loading Station Alpha ..."
+ gamestate.load_station("station-alpha.json")
+
def render(self, surface, gamestate):
surface.fill((0, 255, 0))