Poodletooth-iLand/toontown/estate/DistributedPlantBaseAI.py

27 lines
673 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from direct.directnotify import DirectNotifyGlobal
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
class DistributedPlantBaseAI(DistributedLawnDecorAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPlantBaseAI")
2015-05-10 07:10:32 -05:00
def __init__(self, air):
self.air = air
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
2015-03-03 16:10:12 -06:00
def waterPlant(self):
pass
def waterPlantDone(self):
pass