Přidány základy generování mapy (zatím pouze server-side, bez zrcadlení do clienta)

This commit is contained in:
Perry 2026-02-01 14:53:27 +01:00
parent 8a3267cc4b
commit 8801a7c919
6 changed files with 100 additions and 1 deletions

View file

@ -61,7 +61,7 @@ public class Server {
};
server.Start(port);
Run();
}
@ -115,6 +115,9 @@ public class Server {
else{
P2 = newPlayer;
}
GameLogic.Init(); // TODO: implement a way to start the game once both players join
}
public static void OnNetworkReceive(NetPeer peer, NetPacketReader reader, DeliveryMethod deliveryMethod) {