def __init__(self): Entry.__init__(self) # Some transitions into a MegaState_Entry do not require a # 'SetStateKey' command. This is true, for example, for the recursive # transition in TemplateState-s or the 'on-path-transition' in # PathWalkerState-s. # # If a transition shared a DoorID with another one which does not # contain a 'SetStateKey' command, then this is no longer the case # and the transition needs a new DoorID. The relation between the # new and the old DoorID is stored in 'self.transition_reassignment_db'. self.transition_reassignment_candidate_list = [] self.__transition_reassignment_db = None
def __init__(self, MegaStateIndex): Entry.__init__(self, MegaStateIndex, FromStateIndexList=[])
def __init__(self, StateIndex, TransitionDB, DoorDB): Entry.__init__(self, StateIndex, FromStateIndexList=[]) self.set_transition_db(TransitionDB) self.set_door_db(DoorDB)