Search in sources :

Example 1 with RunOrderConnection

use of org.terasology.engine.rendering.dag.dependencyConnections.RunOrderConnection in project Terasology by MovingBlocks.

the class AbstractNode method addInputRunOrderConnection.

public boolean addInputRunOrderConnection(RunOrderConnection from, int inputId) {
    DependencyConnection runOrderconnection = new RunOrderConnection(RunOrderConnection.getConnectionName(inputId, this.nodeUri), DependencyConnection.Type.INPUT, this.getUri());
    runOrderconnection.setConnectedConnection(from);
    return addInputConnection(runOrderconnection);
}
Also used : DependencyConnection(org.terasology.engine.rendering.dag.dependencyConnections.DependencyConnection) RunOrderConnection(org.terasology.engine.rendering.dag.dependencyConnections.RunOrderConnection)

Aggregations

DependencyConnection (org.terasology.engine.rendering.dag.dependencyConnections.DependencyConnection)1 RunOrderConnection (org.terasology.engine.rendering.dag.dependencyConnections.RunOrderConnection)1