Merge
[koperkapel.git] / koperkapel / scenes / credits.py
1 """ Credits scene. """
2
3 from pgzero.constants import keys
4 from .base import Scene, ChangeSceneEvent
5
6
7 class CreditsScene(Scene):
8     """ Credits scene. """
9
10     def draw(self, screen):
11         screen.clear()
12         screen.draw.text("Credits", (300, 300))
13
14     def on_key_down(self, key, mod, unicode):
15         if key == keys.ESCAPE:
16             from .menu import MenuScene
17             return [ChangeSceneEvent(MenuScene())]