Beispiel #1
0
    public IsOverLoot()
    {
        input  = new ControlFlow(this);
        output = new BoolEdge(this);

        Inputs  = new Edge[] { input };
        Outputs = new Edge[] { output };
    }
Beispiel #2
0
    public EnemyNear()
    {
        input  = new DirEdge(this);
        output = new BoolEdge(this);

        Inputs  = new Edge[] { input };
        Outputs = new Edge[] { output };
    }
Beispiel #3
0
    public ConstBool()
    {
        input  = new ControlFlow(this);
        output = new BoolEdge(this);

        Inputs  = new Edge[] { input };
        Outputs = new Edge[] { output };
    }
Beispiel #4
0
    public Branch()
    {
        input  = new BoolEdge(this);
        top    = new ControlFlow(this);
        bottom = new ControlFlow(this);

        Inputs  = new Edge[] { input };
        Outputs = new Edge[] { top, bottom };
    }