Přidán build script, předělaná struktura, funkční spouštění serveru z clienta. Client je schopen fungovat po více her bez restartu. Bugfixy
This commit is contained in:
parent
c942d23a87
commit
1a27dd6fab
22 changed files with 269 additions and 136 deletions
|
|
@ -105,6 +105,8 @@ public class EventProcessor {
|
|||
case 11:
|
||||
Console.WriteLine($"E: Player {e.Args[0]} won");
|
||||
if(Client.Player.state.pid == e.Args[0]) UIManager.ShowVictoryScreen();
|
||||
Client.Disconnect();
|
||||
ClientEnemyManager.ClearEnemies();
|
||||
break;
|
||||
|
||||
case 12: // game start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue