2015-03-03 16:10:12 -06:00
|
|
|
from direct.directnotify import DirectNotifyGlobal
|
|
|
|
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
|
|
|
|
|
|
|
|
class DistributedGardenBoxAI(DistributedLawnDecorAI):
|
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedGardenBoxAI")
|
|
|
|
|
2015-05-10 07:10:32 -05:00
|
|
|
def __init__(self, air):
|
2015-05-24 18:23:54 -05:00
|
|
|
DistributedLawnDecorAI.__init__(self, air)
|
2015-05-10 07:10:32 -05:00
|
|
|
self.air = air
|
|
|
|
self.typeIndex = 0
|
|
|
|
|
2015-05-10 06:47:03 -05:00
|
|
|
def setTypeIndex(self, index):
|
2015-05-10 07:00:38 -05:00
|
|
|
self.typeIndex = index
|
2015-05-24 18:23:54 -05:00
|
|
|
|
|
|
|
def getTypeIndex(self):
|
|
|
|
return self.typeIndex
|