Exemplo n.º 1
0
    public override Node SetUp_Tree()
    {
        Node jump = new Jump_Action();
        Node fall = new Fall_Action();

        Node groundCheck = new GroundCheck_Node();
        Node onAirCheck  = Node_Inverter.Create(groundCheck);

        return(Node_Sequence.Create(onAirCheck, jump, fall));
    }
Exemplo 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));
    }
Exemplo 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));
    }