Exemplo n.º 1
0
    void Start()
    {
        actions.Add(idleActions);
        actions.Add(activeActions);
        actions.Add(interactActions);
        activeActions.Add(new FollowPlayer(dog, dog.player));
        activeActions.Add(new Fetch(dog, dog.player));
        //activeActions.Add(new LeadPlayer(dog, dog.player, dog.TestWaypoint.position, 10f));
        activeActions.Add(new SniffForTree(dog));

        idleActions.Add(new Sit(dog, 1f));
        idleActions.Add(new Stare(dog, 1f));

        interactActions.Add(new Call(dog, dog.player));

        bestMood.ChangeMood(100f, 50f, 75f, 0f);

        //dog.currentAction = new RingARound (dog, dog.player, 5f);

        //StartAction (ActionType.ACTIVE);
    }