Permalink
Browse files

Add director.Director

  • Loading branch information...
1 parent 3387d2e commit eee0c63a257d2d249dda3ccce9f316dd317680fc @szabba committed Dec 23, 2012
Showing with 32 additions and 0 deletions.
  1. +32 −0 src/director.py
View
@@ -0,0 +1,32 @@
+# -*- coding: utf-8 -*-
+
+
+__all__ = ['Director']
+
+
+class Director(object):
+ """Abstract base class for Directors.
+
+ Provides
+ """
+
+ def hints(self, entity):
+ """D.hints(entity) -> extra data an entity might want to get from the
+ Director
+ """
+
+ raise NotImplementedError()
+
+ def orchestrate(self, dt, event, stage, levels):
+ """D.orchestrate(dt, event, stage, levels)
+
+ Manage the scene and game flow.
+ """
+
+ raise NotImplementedError()
+
+ def viewport(self, stage):
+ """D.viewport(stage) -> a Box describing the visible part of the screen
+ """
+
+ raise NotImplementedError()

0 comments on commit eee0c63

Please sign in to comment.