projects
/
naja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
A TextWidget
[naja.git]
/
naja
/
scenes
/
menu.py
1
"""
2
Main menu scene.
3
"""
4
5
from naja.scenes.scene import Scene
6
from naja.widgets.text import TextWidget
7
8
9
class MenuScene(Scene):
10
11
def __init__(self):
12
self.tw = TextWidget((10, 10), 'Haai', colour=(255, 255, 255))
13
14
def render(self, surface):
15
self.tw.draw(surface)
16
17
def handle_event(self, ev):
18
pass