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 cleanupPicture(self):
     CatalogItem.cleanupPicture(self)
     self.model.detachNode()
     self.model = None
 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()
Exemple #9
0
    def makeNewItem(self, houseType):
        self.houseType = houseType

        CatalogItem.makeNewItem(self)
Exemple #10
0
    def encodeDatagram(self, dg, store):
        CatalogItem.encodeDatagram(self, dg, store)

        dg.addUint8(self.houseType)
Exemple #11
0
    def decodeDatagram(self, di, versionNumber, store):
        CatalogItem.decodeDatagram(self, di, versionNumber, store)

        self.houseType = di.getUint8()