2015-03-03 22:10:12 +00:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
|
|
|
|
|
|
|
|
class DistributedStatuaryAI(DistributedLawnDecorAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedStatuaryAI")
|
|
|
|
|
2015-05-10 12:10:32 +00:00
|
|
|
def __init__(self, air, species):
|
|
|
|
self.air = air
|
|
|
|
self.species = species
|
|
|
|
self.typeIndex = 0
|
|
|
|
self.water = 0
|
|
|
|
self.growth = 0
|
|
|
|
|
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 setWaterLevel(self, water):
|
2015-05-10 12:10:32 +00:00
|
|
|
self.water = water
|
2015-03-03 22:10:12 +00:00
|
|
|
|
2015-05-10 11:47:03 +00:00
|
|
|
def setGrowthLevel(self, growth):
|
2015-05-10 12:10:32 +00:00
|
|
|
self.growth = growth
|