mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
6d8bfd133d
commit
b3f2abc0b5
42
direct/src/fsm/StateData.py
Normal file
42
direct/src/fsm/StateData.py
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
"""StateData module: contains StateData class"""
|
||||||
|
|
||||||
|
from DirectObject import *
|
||||||
|
|
||||||
|
class StateData(DirectObject):
|
||||||
|
|
||||||
|
"""StateData class: """
|
||||||
|
|
||||||
|
def __init__(self, doneEvent)
|
||||||
|
"""__init__(self, Event)
|
||||||
|
"""
|
||||||
|
self.doneEvent = doneEvent
|
||||||
|
|
||||||
|
def enter(self):
|
||||||
|
"""enter(self)"""
|
||||||
|
print "Called abstract enter function"
|
||||||
|
|
||||||
|
def exit(self):
|
||||||
|
"""exit(self)"""
|
||||||
|
print "Called abstract exit function"
|
||||||
|
|
||||||
|
def load(self):
|
||||||
|
"""load(self)"""
|
||||||
|
print "Called abstract load function"
|
||||||
|
|
||||||
|
def unload(self):
|
||||||
|
"""unload(self)"""
|
||||||
|
print "Called abstract unload function"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user