mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
21 lines
627 B
Python
21 lines
627 B
Python
from direct.directnotify import DirectNotifyGlobal
|
|
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
|
|
|
|
class DistributedStatuaryAI(DistributedLawnDecorAI):
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedStatuaryAI")
|
|
|
|
def __init__(self, air, species):
|
|
self.air = air
|
|
self.species = species
|
|
self.typeIndex = 0
|
|
self.water = 0
|
|
self.growth = 0
|
|
|
|
def setTypeIndex(self, index):
|
|
self.typeIndex = index
|
|
|
|
def setWaterLevel(self, water):
|
|
self.water = water
|
|
|
|
def setGrowthLevel(self, growth):
|
|
self.growth = growth
|