projects
/
tabakrolletjie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Separate rendering of lights and light fixtures.
[tabakrolletjie.git]
/
tabakrolletjie
/
scenes
/
night.py
diff --git
a/tabakrolletjie/scenes/night.py
b/tabakrolletjie/scenes/night.py
index bb362b53a42b33281449819eb4255e737d80e214..16d8cf692a6aa9336cf2e008c30a07e019afd4a4 100644
(file)
--- a/
tabakrolletjie/scenes/night.py
+++ b/
tabakrolletjie/scenes/night.py
@@
-24,6
+24,8
@@
class NightScene(BaseScene):
def render(self, surface, gamestate):
surface.fill((0, 0, 155))
+ for light in self._lights:
+ light.render_light(surface)
for obs in self._obstacles:
obs.render(surface)
for light in self._lights: