Skip to content

Commit b3f2abc

Browse files
author
Mike Goslin
committed
*** empty log message ***
1 parent 6d8bfd1 commit b3f2abc

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

direct/src/fsm/StateData.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
"""StateData module: contains StateData class"""
3+
4+
from DirectObject import *
5+
6+
class StateData(DirectObject):
7+
8+
"""StateData class: """
9+
10+
def __init__(self, doneEvent)
11+
"""__init__(self, Event)
12+
"""
13+
self.doneEvent = doneEvent
14+
15+
def enter(self):
16+
"""enter(self)"""
17+
print "Called abstract enter function"
18+
19+
def exit(self):
20+
"""exit(self)"""
21+
print "Called abstract exit function"
22+
23+
def load(self):
24+
"""load(self)"""
25+
print "Called abstract load function"
26+
27+
def unload(self):
28+
"""unload(self)"""
29+
print "Called abstract unload function"
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+

0 commit comments

Comments
 (0)