add Shape.getVar()

This commit is contained in:
Josh Holtrop 2011-03-30 16:46:34 -04:00
parent 2200460b56
commit 2d24e7a920

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