mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-24 15:00:48 +00:00
19 lines
541 B
Java
19 lines
541 B
Java
package com.hbm.hrist;
|
|
|
|
/** Generated out of multiple ConnectionDefinitions to form a straight segment, ends at a branch */
|
|
public class ConduitConnection {
|
|
|
|
protected boolean valid = true;
|
|
public ConduitConnection[] connectedTo = new ConduitConnection[2]; // a sausage always has two ends
|
|
public int stateKeepAlive;
|
|
public ConnectionStatus state = ConnectionStatus.OKAY;
|
|
|
|
public boolean isValid() { return this.valid; }
|
|
public void invalidate() { this.valid = false; }
|
|
|
|
public static enum ConnectionStatus {
|
|
OKAY,
|
|
BLOCKED
|
|
}
|
|
}
|