Ejemplo n.º 1
0
    public override Node SetUp_Tree()
    {
        Node idling    = new Idling();
        Node running   = new Running();
        Node crouching = new Crouching();
        Node jumping   = new Jumping();
        Node falling   = new Falling();

        Node nonAttacked = Node_Selector.Create(crouching, running, idling, jumping, falling);

        Node attacked = new Attacked();

        return(Node_Selector.Create(attacked, nonAttacked));
    }
Ejemplo n.º 2
0
    public override Node SetUp_Tree()
    {
        Node fall   = new Fall_Action();
        Node attack = new Attack_Action();


        Node skill = new Skill_Action();
        Node swap  = new Swap_Action();
        Node ws1   = new WS_1_Action();
        Node ws2   = new WS_2_Action();

        Node idle = new Idle_Action();

        return(Node_Selector.Create(attack, skill, swap, ws1, ws2, fall, idle));
    }
Ejemplo n.º 3
0
    public override Node SetUp_Tree()
    {
        Node fall = new Fall_Action();
        Node jump = new Jump_Action();

        Node run    = new Run_Action();
        Node attack = new Attack_Action();
        Node crouch = new Crouch_Action();


        Node skill = new Skill_Action();
        Node swap  = new Swap_Action();
        Node ws1   = new WS_1_Action();
        Node ws2   = new WS_2_Action();

        Node idle = new Idle_Action();

        return(Node_Selector.Create(fall, jump, run, attack, skill, swap, ws1, ws2, crouch, idle));
    }