2015-03-03 16:10:12 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from toontown.estate.DistributedPlantBaseAI import DistributedPlantBaseAI
|
|
|
|
|
|
|
|
class DistributedFlowerAI(DistributedPlantBaseAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedFlowerAI")
|
|
|
|
|
2015-05-24 18:23:54 -05:00
|
|
|
def __init__(self, air):
|
|
|
|
DistributedPlantBaseAI.__init__(self, air)
|
2015-05-10 07:10:32 -05:00
|
|
|
self.air = air
|
|
|
|
self.typeIndex = None
|
|
|
|
|
2015-05-24 18:23:54 -05:00
|
|
|
def setTypeIndex(self, typeIndex):
|
|
|
|
DistributedPlantBaseAI.setTypeIndex(self, typeIndex)
|
|
|
|
self.typeIndex = typeIndex
|
|
|
|
|
|
|
|
def getTypeIndex(self):
|
|
|
|
return self.typeIndex
|
2015-03-03 16:10:12 -06:00
|
|
|
|
2015-05-10 06:47:03 -05:00
|
|
|
def setVariety(self, variety):
|
2015-05-10 07:10:32 -05:00
|
|
|
self.variety = variety
|
2015-05-24 18:23:54 -05:00
|
|
|
|
|
|
|
def getVariety(self):
|
|
|
|
return self.variety
|