27 Apr
2008
27 Apr
'08
3:22 p.m.
So.... what are the ramifications of doing this: class PortableGameObject(GameObject, pb.Copyable, pb.RemoteCopy): def getStateToCopy(self): d = self.__dict__.copy() return d def setCopyableState(self, state): #newDict = { 'newness' : 1 } self.__dict__ = state pb.setUnjellyableForClass(PortableGameObject, PortableGameObject) I only ask since I want to make the objects transmittable and receivable. Thanks Si -- http://www.squirtual-reality.com -------------------------------- Linux user #458601 - http://counter.li.org.