summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/impl
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/transit/impl')
-rw-r--r--src/main/java/net/transit/impl/IAcceptor.java13
-rw-r--r--src/main/java/net/transit/impl/IConsumer.java8
-rw-r--r--src/main/java/net/transit/impl/IGenerator.java8
-rw-r--r--src/main/java/net/transit/impl/IProvider.java17
4 files changed, 0 insertions, 46 deletions
diff --git a/src/main/java/net/transit/impl/IAcceptor.java b/src/main/java/net/transit/impl/IAcceptor.java
deleted file mode 100644
index 7fe06aa..0000000
--- a/src/main/java/net/transit/impl/IAcceptor.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package net.transit.impl;
-
-import net.transit.packet.IPacket;
-import net.minecraft.util.math.Direction;
-
-public interface IAcceptor<T>
-{
- // Direction given if acceptor is a block
- public boolean canAccept(Direction d);
-
- // Accept (or not) a provided T (should trigger ITransferEvent)
- public boolean accept(IPacket<T> provided);
-} \ No newline at end of file
diff --git a/src/main/java/net/transit/impl/IConsumer.java b/src/main/java/net/transit/impl/IConsumer.java
deleted file mode 100644
index 7b3b070..0000000
--- a/src/main/java/net/transit/impl/IConsumer.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package net.transit.impl;
-
-public interface IConsumer<T> extends IAcceptor<T>
-{
- public boolean canConsume();
-
-
-} \ No newline at end of file
diff --git a/src/main/java/net/transit/impl/IGenerator.java b/src/main/java/net/transit/impl/IGenerator.java
deleted file mode 100644
index f69de2f..0000000
--- a/src/main/java/net/transit/impl/IGenerator.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package net.transit.impl;
-
-public interface IGenerator<T> extends IProvider<T>
-{
- public boolean canGenerate();
-
-
-} \ No newline at end of file
diff --git a/src/main/java/net/transit/impl/IProvider.java b/src/main/java/net/transit/impl/IProvider.java
deleted file mode 100644
index 94e903f..0000000
--- a/src/main/java/net/transit/impl/IProvider.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package net.transit.impl;
-
-import net.transit.packet.IPacket;
-import net.minecraft.util.math.Direction;
-
-public interface IProvider<T>
-{
-
- // Direction given if provider is a block
- public boolean canProvide(Direction d);
-
- // Provide the next T (should trigger ITransferEvent)
- public IPacket<T> provide();
-
- // Retain the rejected T if the acceptor did not accept it (should trigger ITransferEvent)
- public void retain(IPacket<T> rejected);
-} \ No newline at end of file