toontown-just-works/toontown/parties/BaseActivityFSM.py
2024-07-07 18:08:39 -05:00

11 lines
361 B
Python

from direct.fsm.FSM import FSM
from direct.directnotify import DirectNotifyGlobal
class BaseActivityFSM(FSM):
notify = DirectNotifyGlobal.directNotify.newCategory('BaseActivityFSM')
def __init__(self, activity):
FSM.__init__(self, self.__class__.__name__)
self.activity = activity
self.defaultTransitions = None
return