add Shape.getVar()

This commit is contained in:
Josh Holtrop committed 2011-03-30 16:46:34 -04:00
1 parent 2200460b56
commit 2d24e7a920
1 file changed
+3
+3
View File
@@ -1,4 +1,7 @@
class Shape(object):
def getVar(self, varid):
return self.vars[varid]
def setVar(self, varid, value):
self.vars[varid] = value