mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
*** empty log message ***
This commit is contained in:
parent
f240602bf6
commit
d61c0daba6
@ -487,6 +487,9 @@ if __name__ == '__main__':
|
|||||||
fsmi = FSMInspector(title = 'My Little Viewer', FSM = fsm)
|
fsmi = FSMInspector(title = 'My Little Viewer', FSM = fsm)
|
||||||
mainloop()
|
mainloop()
|
||||||
"""
|
"""
|
||||||
|
# Set want-tk #t in Configrc
|
||||||
|
import FSM
|
||||||
|
import State
|
||||||
def enterState():
|
def enterState():
|
||||||
print 'enterState'
|
print 'enterState'
|
||||||
def exitState():
|
def exitState():
|
||||||
@ -497,6 +500,8 @@ fsm = FSM.FSM('stopLight',
|
|||||||
State.State('green', enterState, exitState, ['yellow']) ],
|
State.State('green', enterState, exitState, ['yellow']) ],
|
||||||
'red',
|
'red',
|
||||||
'red')
|
'red')
|
||||||
inspector = FSMInspector(FSM = fsm)
|
|
||||||
|
import FSMInspector
|
||||||
|
inspector = FSMInspector.FSMInspector(FSM = fsm, title = fsm.getName())
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user