1 """ Base scene class. """
4 class BaseScene(object):
5 def enter(self, gamestate):
6 """ Enter the scene. """
8 def exit(self, gamestate):
9 """ Leave the scene. """
11 def event(self, ev, gamestate):
12 """ Handle an event. """
14 def render(self, screen, gamestate):
15 """ Render the scene. """
17 def tick(self, gamestate):
18 """ Update the world based on time """