12 lines
361 B
Python
12 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
|