projects
/
naja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add rendering to scenes and fix handle_event.
[naja.git]
/
naja
/
scenes
/
scene.py
1
"""
2
Base Scene class.
3
"""
4
5
6
class Scene(object):
7
"""
8
A scene within the game.
9
10
E.g. Splash screen, game board, credits, win, lose.
11
"""
12
def __init__(self):
13
pass
14
15
def enter(self):
16
pass
17
18
def exit(self):
19
pass
20
21
def render(self, surface):
22
pass
23
24
def handle_event(self, ev):
25
pass