projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ce675
)
Render turnips in same order for day and night
author
Neil
<neil@dip.sun.ac.za>
Fri, 9 Sep 2016 10:12:59 +0000
(12:12 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Fri, 9 Sep 2016 10:12:59 +0000
(12:12 +0200)
tabakrolletjie/scenes/day.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/scenes/day.py
b/tabakrolletjie/scenes/day.py
index 2d91a69266fbb8010e57459ac7977f2363b3319f..a3e43475d72e63d36edde6cf4997a109cd0b1bcf 100644
(file)
--- a/
tabakrolletjie/scenes/day.py
+++ b/
tabakrolletjie/scenes/day.py
@@
-56,11
+56,11
@@
class DayScene(BaseScene):
@debug_timer("day.render")
def render(self, surface, gamestate):
surface.fill((0, 0, 155))
+ for turnip in self._turnips:
+ turnip.render(surface)
self._lights.render_light(surface)
self._obstacles.render(surface)
self._lights.render_fittings(surface)
- for turnip in self._turnips:
- turnip.render(surface)
surface.blit(self._toolbar, (120, 10), None)
for tool in self._tools:
tool.render(surface)