Ejemplo n.º 1
0
    protected override void Patrol()
    {
        base.Patrol();
        _sheep.Destination();
        _sheep.sheepAnimationState = Sheep.SHEEP_ANIMATIONSTATE.ARM_SHEEP_WALK;

        if (_patrolTimer >= _patrolDuration)
        {
            _sheep.ChangeState(new SheepIdleState());
        }
    }