from .base import BaseScene
from ..lights import BaseLight
from ..obstacles import BaseObstacle
from ..events import SceneChangeEvent
from .base import BaseScene
from ..lights import BaseLight
from ..obstacles import BaseObstacle
from ..events import SceneChangeEvent
surface.fill((0, 0, 155))
for light in self._lights:
light.render_light(surface)
surface.fill((0, 0, 155))
for light in self._lights:
light.render_light(surface)
def event(self, ev, gamestate):
if ev.type == pgl.KEYDOWN:
if ev.key in (pgl.K_q, pgl.K_ESCAPE):
def event(self, ev, gamestate):
if ev.type == pgl.KEYDOWN:
if ev.key in (pgl.K_q, pgl.K_ESCAPE):