def cleanupPicture(self): CatalogItem.cleanupPicture(self) self.model.detachNode() self.model = None
def makeNewItem(self, houseType): self.houseType = houseType CatalogItem.makeNewItem(self)
def decodeDatagram(self, di, versionNumber, store): CatalogItem.decodeDatagram(self, di, versionNumber, store) self.houseType = di.getUint8()
def encodeDatagram(self, dg, store): CatalogItem.encodeDatagram(self, dg, store) dg.addUint8(self.houseType)
def makeNewItem(self, layoutId): self.layoutId = layoutId CatalogItem.makeNewItem(self)
def encodeDatagram(self, dg, store): CatalogItem.encodeDatagram(self, dg, store) dg.addUint8(self.layoutId)
def decodeDatagram(self, di, versionNumber, store): CatalogItem.decodeDatagram(self, di, versionNumber, store) self.layoutId = di.getUint8()