remove useless class
All checks were successful
Linux arm64 / Build (push) Successful in 24m6s

This commit is contained in:
2025-01-28 11:30:16 +01:00
parent c430a1e1b0
commit f489c4c8ab
2 changed files with 0 additions and 34 deletions

View File

@@ -1,28 +0,0 @@
package network.protocol;
import java.util.ArrayList;
import java.util.List;
public class PacketDispatcher {
private final List<PacketVisitor> handlers;
public PacketDispatcher() {
this.handlers = new ArrayList<>();
}
public void dispatch(Packet packet) {
for (PacketVisitor handler : handlers) {
handler.visitPacket(packet);
}
}
public void registerHandler(PacketVisitor handler) {
handlers.add(handler);
}
public void unregisterHandler(PacketVisitor handler) {
handlers.remove(handler);
}
}

View File

@@ -1,6 +0,0 @@
package network.protocol;
public class PacketFactory {
}