2015-03-03 16:10:12 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
|
|
|
|
|
|
|
|
class DistributedStatuaryAI(DistributedLawnDecorAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedStatuaryAI")
|
|
|
|
|
2015-05-10 07:10:32 -05:00
|
|
|
def __init__(self, air, species):
|
|
|
|
self.air = air
|
|
|
|
self.species = species
|
|
|
|
self.typeIndex = 0
|
|
|
|
self.water = 0
|
|
|
|
self.growth = 0
|
|
|
|
|
2015-05-10 06:47:03 -05:00
|
|
|
def setTypeIndex(self, index):
|
2015-05-10 07:10:32 -05:00
|
|
|
self.typeIndex = index
|
2015-03-03 16:10:12 -06:00
|
|
|
|
2015-05-10 06:47:03 -05:00
|
|
|
def setWaterLevel(self, water):
|
2015-05-10 07:10:32 -05:00
|
|
|
self.water = water
|
2015-03-03 16:10:12 -06:00
|
|
|
|
2015-05-10 06:47:03 -05:00
|
|
|
def setGrowthLevel(self, growth):
|
2015-05-10 07:10:32 -05:00
|
|
|
self.growth = growth
|