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

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

            actor.defendMoveDirection = DefendMoveDirection.None;
        }