Ejemplo n.º 1
0
    protected override void Patrol()
    {
        base.Patrol();
        _bear.Destination();
        _bear.bearAnimationState = Bear.BEAR_ANIMATIONSTATE.BEAR_WALK;

        if (_patrolTimer >= _patrolDuration)
        {
            _bear.ChangeState(new BearIdleState());
        }
    }