コード例 #1
0
    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
コード例 #2
0
ファイル: core.py プロジェクト: dkopecek/amplify
    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
コード例 #3
0
ファイル: core.py プロジェクト: liancheng/rose
 def __init__(self, MegaStateIndex):
     Entry.__init__(self, MegaStateIndex, FromStateIndexList=[])
コード例 #4
0
ファイル: core.py プロジェクト: liancheng/rose
 def __init__(self, StateIndex, TransitionDB, DoorDB):
     Entry.__init__(self, StateIndex, FromStateIndexList=[])
     self.set_transition_db(TransitionDB)
     self.set_door_db(DoorDB)
コード例 #5
0
 def __init__(self, MegaStateIndex):
     Entry.__init__(self, MegaStateIndex, FromStateIndexList=[])
コード例 #6
0
 def __init__(self, StateIndex, TransitionDB, DoorDB):
     Entry.__init__(self, StateIndex, FromStateIndexList=[])
     self.set_transition_db(TransitionDB)
     self.set_door_db(DoorDB)