Exemplo n.º 1
0
        // Method for Transition OnStage__forgetLine__Dried

        public void OnStage__forgetLine(FSM_Event evt)
        {
            Debug.WriteLine("ACTOR.OnStage__forgetLine() Executing in response to event " + evt.getEventName());
        }
Exemplo n.º 2
0
        // GuardMethod for transition OnStage__endOfScene__InWings

        public bool OnStage__endOfSceneGuard(FSM_Event evt)
        {
            Debug.WriteLine("ACTOR.OnStage__endOfSceneGuard() allowing event " + evt.getEventName());
            return(true);
        }
Exemplo n.º 3
0
        // GuardMethod for transition InWings__endOfPLay__Bowing

        public bool InWings__endOfPLayGuard(FSM_Event evt)
        {
            Debug.WriteLine("ACTOR.InWings__endOfPLayGuard() allowing event " + evt.getEventName());
            return(true);
        }
Exemplo n.º 4
0
        // Implementation of State OnStage

        // Method for Entry

        public void OnStage__onEntry(FSM_Event evt)
        {
            Debug.WriteLine("ACTOR.OnStage__onEntry() Executing in response to event " + evt.getEventName());

            // Find the CDPlayer:player1.  If its not playing send 'play'
            FSM playerFSM = FSM.findByFSMName("CDPLAYER:cdplayer1");

            if (playerFSM.getCurrentStateName() != CDPLAYER.States.Playing)
            {
                FSM.postEvent(this, CDPLAYER.Events.startPlaying, playerFSM);
            }
        }
Exemplo n.º 5
0
        // Method for Transition InWings__endOfPLay__Bowing

        public void InWings__endOfPLay(FSM_Event evt)
        {
            Debug.WriteLine("ACTOR.InWings__endOfPLay() Executing in response to event " + evt.getEventName());
        }