Poodletooth-iLand/toontown/estate/DistributedPlantBaseAI.py

27 lines
673 B
Python
Raw Normal View History

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