changed default onUndefTransition to DISALLOW

This commit is contained in:
Darren Ranalli 2002-10-03 06:18:59 +00:00
parent 26961c650f
commit 0ae2103afd

View File

@ -18,7 +18,7 @@ class FSM(DirectObject):
ERROR = 2 # print an error message and raise an exception
def __init__(self, name, states=[], initialStateName=None,
finalStateName=None, onUndefTransition=ALLOW):
finalStateName=None, onUndefTransition=DISALLOW):
"""__init__(self, string, State[], string, string, int)
FSM constructor: takes name, list of states, initial state and