public override void leave(FBActor actor) { //Debuger.Log("Leve MovementState change to otherState"); //actor.world.onActorLeaveMovement(actor); actor._setMovingState(MovingState.kAction); }
public override void enter(FBActor actor) { actor.m_timer = actor.m_configuration.m2_movingTime; actor._setMovingState(MovingState.kMoving); }
public override void leave(FBActor actor) { actor._setMovingState(MovingState.kAction); actor.defendMoveDirection = DefendMoveDirection.None; }