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