From: Simon Cross Date: Wed, 7 Sep 2016 21:29:11 +0000 (+0200) Subject: Add ticks for lights. X-Git-Tag: tabakrolletjie-v1.0.0~194 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=694e5666a0134fb83743b4329383bea47a373710;p=tabakrolletjie.git Add ticks for lights. --- diff --git a/tabakrolletjie/scenes/day.py b/tabakrolletjie/scenes/day.py index 20b297e..87193e8 100644 --- a/tabakrolletjie/scenes/day.py +++ b/tabakrolletjie/scenes/day.py @@ -37,4 +37,4 @@ class DayScene(BaseScene): @debug_timer("day.tick") def tick(self, gamestate): - pass + self._lights.tick() diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index b4e19e8..6944f5f 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -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()