Add ticks for lights.
authorSimon Cross <hodgestar@gmail.com>
Wed, 7 Sep 2016 21:29:11 +0000 (23:29 +0200)
committerSimon Cross <hodgestar@gmail.com>
Wed, 7 Sep 2016 21:29:11 +0000 (23:29 +0200)
tabakrolletjie/scenes/day.py
tabakrolletjie/scenes/night.py

index 20b297e1ae7b070a1c99981f01f813fdb2480a69..87193e89e124a118a752de3b0f46fcebb6c028fe 100644 (file)
@@ -37,4 +37,4 @@ class DayScene(BaseScene):
 
     @debug_timer("day.tick")
     def tick(self, gamestate):
-        pass
+        self._lights.tick()
index b4e19e8379704b46655a9338452cbd6f498115df..6944f5f00359fb89f764e96e667e8de68dd0924f 100644 (file)
@@ -40,3 +40,4 @@ class NightScene(BaseScene):
     @debug_timer("night.tick")
     def tick(self, gamestate):
         self._mould.tick(gamestate, self._space, self._lights)
+        self._lights.tick()