mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
changed default onUndefTransition to DISALLOW
This commit is contained in:
parent
26961c650f
commit
0ae2103afd
@ -18,7 +18,7 @@ class FSM(DirectObject):
|
|||||||
ERROR = 2 # print an error message and raise an exception
|
ERROR = 2 # print an error message and raise an exception
|
||||||
|
|
||||||
def __init__(self, name, states=[], initialStateName=None,
|
def __init__(self, name, states=[], initialStateName=None,
|
||||||
finalStateName=None, onUndefTransition=ALLOW):
|
finalStateName=None, onUndefTransition=DISALLOW):
|
||||||
"""__init__(self, string, State[], string, string, int)
|
"""__init__(self, string, State[], string, string, int)
|
||||||
|
|
||||||
FSM constructor: takes name, list of states, initial state and
|
FSM constructor: takes name, list of states, initial state and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user