toontown-just-works/toontown/parties/BaseActivityFSM.py

12 lines
361 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05:00
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