示例#1
0
        public override void leave(FBActor actor)
        {
            //Debuger.Log("Leve MovementState change to otherState");
            //actor.world.onActorLeaveMovement(actor);

            actor._setMovingState(MovingState.kAction);
        }
示例#2
0
 public override void enter(FBActor actor)
 {
     actor.m_timer = actor.m_configuration.m2_movingTime;
     actor._setMovingState(MovingState.kMoving);
 }
示例#3
0
        public override void leave(FBActor actor)
        {
            actor._setMovingState(MovingState.kAction);

            actor.defendMoveDirection = DefendMoveDirection.None;
        }