aboutsummaryrefslogtreecommitdiff
path: root/operationscore/Renderer.py
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2010-11-24 01:09:12 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2010-11-24 01:09:12 -0500
commitb042647b68abdc82490ca6e059993b8eba28904c (patch)
treea9ee95a38e98b377c251b7b2e9af9cbd8056cf7c /operationscore/Renderer.py
parent407ac922fc4178021cf3a16dfb1bd875b6083ac4 (diff)
Refactoring complete! Made modules/packages as appropriate. Finally.
Diffstat (limited to 'operationscore/Renderer.py')
-rw-r--r--operationscore/Renderer.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/operationscore/Renderer.py b/operationscore/Renderer.py
new file mode 100644
index 0000000..11fd8ca
--- /dev/null
+++ b/operationscore/Renderer.py
@@ -0,0 +1,12 @@
+#Renderer abstract class. Doesn't do much now, but might do more later.
+#Inheriting classes MUST define render which takes a light system and renders it.
+#Inheriting classes may define initRenderer which is called after the dictionary
+#is pulled from config.
+from operationscore.SmootCoreObject import *
+class Renderer(SmootCoreObject):
+ def init(self):
+ self.initRenderer()
+ def render(lightSystem):
+ pass
+ def initRenderer(self):
+ pass