1 """ In the night, the mould attacks. """
3 import pygame.locals as pgl
5 from .base import BaseScene
6 from ..events import SceneChangeEvent
9 class NightScene(BaseScene):
10 def render(self, surface, gamestate):
11 surface.fill((0, 0, 255))
13 def event(self, ev, gamestate):
14 if ev.type == pgl.KEYDOWN:
15 if ev.key in (pgl.K_q, pgl.K_ESCAPE):
16 from .menu import MenuScene
17 SceneChangeEvent.post(scene=MenuScene())