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-10 12:10:32 +00:00
|
|
|
def __init__(self, air, species, variety):
|
|
|
|
self.air = air
|
|
|
|
self.species = species
|
|
|
|
self.variety = variety
|
|
|
|
self.typeIndex = None
|
|
|
|
|
2015-05-10 11:47:03 +00:00
|
|
|
def setTypeIndex(self, index):
|
2015-05-10 12:10:32 +00:00
|
|
|
self.typeIndex = index
|
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
|