diff options
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/corechg/transit/network/packet/Packet.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/net/corechg/transit/network/packet/Packet.java b/src/main/java/net/corechg/transit/network/packet/Packet.java deleted file mode 100644 index 8aaffdd..0000000 --- a/src/main/java/net/corechg/transit/network/packet/Packet.java +++ /dev/null @@ -1,23 +0,0 @@ -package net.corechg.transit.network.packet; - -import net.corechg.transit.type.Type; - -/** - * @author Kyle Gunger - * - * @param <D> The data type (Object) that the packet transfers. - */ -public interface Packet<D> -{ - /**Get the packet's data - * - * @return <D> The packet's data - */ - public D getData(); - - /**Get the packet's type - * - * @return IType<<D>> The type of the packet - */ - public Type<D> getType(); -}
\ No newline at end of file |