projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak mould rendering logic to have sane realtionship between image position and...
[tabakrolletjie.git]
/
tabakrolletjie
/
scenes
/
menu.py
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):
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))
def render(self, surface, gamestate):
surface.fill((0, 255, 0))