summaryrefslogtreecommitdiff
path: root/src/main/java/net/cshift/transit/basic/AbstractNode.java
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-05-22 13:36:56 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-05-22 13:36:56 -0400
commit04276d1d18d379248cc02b17c15a28760a5adb41 (patch)
tree3cac4729c24d176af382a4031cc532ddc0827d5e /src/main/java/net/cshift/transit/basic/AbstractNode.java
parentd94d1d89565998fdccff071a7c9b65ea1e264ce7 (diff)
2.0.0 alpha.predev release
Diffstat (limited to 'src/main/java/net/cshift/transit/basic/AbstractNode.java')
-rw-r--r--src/main/java/net/cshift/transit/basic/AbstractNode.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/main/java/net/cshift/transit/basic/AbstractNode.java b/src/main/java/net/cshift/transit/basic/AbstractNode.java
deleted file mode 100644
index a87fba4..0000000
--- a/src/main/java/net/cshift/transit/basic/AbstractNode.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package net.cshift.transit.basic;
-
-import java.util.*;
-
-import net.cshift.transit.network.system.*;
-import net.minecraft.block.entity.*;
-
-public abstract class AbstractNode extends BlockEntity implements INode {
-
- public AbstractNode(BlockEntityType<?> type) {
- super(type);
- }
-
- HashMap<String, Object> data = new HashMap<String, Object>();
- ArrayList<Connection> connections = new ArrayList<Connection>(0);
-
- @Override
- public abstract boolean hasGroup(String groupID);
-
- @Override
- public ISystem getSystem() {
- return null;
- }
-
- @Override
- public Object getData(String groupID) {
- return data.get(groupID);
- }
-
- @Override
- public void setData(Object dat, String groupID) {
- data.put(groupID, dat);
- }
-
- @Override
- public Connection[] getConnections() {
- return (Connection[]) connections.toArray();
- }
-
- @Override
- public int connectionCount() {
- return connections.size();
- }
-
-}