71f7d6ccc3d2615700e4be37c1d4a4e008d6be76
[tabakrolletjie.git] / tabakrolletjie / scenes / base.py
1 """ Base scene class. """
2
3
4 class BaseScene(object):
5     def enter(self, gamestate):
6         """ Enter the scene. """
7
8     def exit(self, gamestate):
9         """ Leave the scene. """
10
11     def event(self, ev, gamestate):
12         """ Handle an event. """
13
14     def render(self, screen, gamestate):
15         """ Render the scene. """
16
17     def tick(self, gamestate):
18         """ Update the world based on time """