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 enter(self, gamestate):
12 pprint.pprint(gamestate.station)
14 def render(self, surface, gamestate):
15 surface.fill((0, 0, 255))
17 def event(self, ev, gamestate):
18 if ev.type == pgl.KEYDOWN:
19 if ev.key in (pgl.K_q, pgl.K_ESCAPE):
20 from .menu import MenuScene
21 SceneChangeEvent.post(scene=MenuScene())