mooore stuff
Some checks failed
Linux arm64 / Build (push) Failing after 5m5s

This commit is contained in:
2025-01-26 13:46:23 +01:00
parent caf7011f08
commit e51cc23459
20 changed files with 395 additions and 65 deletions

View File

@@ -0,0 +1,29 @@
package network.protocol.packets;
import game.Player;
import network.protocol.Packet;
import network.protocol.PacketVisitor;
import network.protocol.Packets;
public class PlayerJoinPacket extends Packet{
static private final long serialVersionUID = Packets.PlayerJoin.ordinal();
private final Player player;
public PlayerJoinPacket(Player player) {
this.player = player;
}
public Player getPlayer() {
return player;
}
@Override
public void accept(PacketVisitor packetVisitor) {
packetVisitor.visitPacket(this);
}
}