working main menu

This commit is contained in:
2024-08-07 11:54:09 +02:00
parent adb6dce08a
commit de6742f64d
19 changed files with 405 additions and 17 deletions

View File

@@ -17,6 +17,8 @@ class Server {
network::EnetConnection* GetConnection(std::uint16_t a_PeerId);
bool IsClosed() const;
void CloseConnection(std::uint16_t a_PeerId);
void CloseServer();

View File

@@ -8,9 +8,9 @@ namespace server {
class Server;
class DisconectSystem {
class DisconnectSystem {
public:
DisconectSystem(entt::registry&, EnttWorld& a_World, Server& a_Server);
DisconnectSystem(entt::registry&, EnttWorld& a_World, Server& a_Server);
void Update(Nz::Time elapsedTime);