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

@@ -69,6 +69,8 @@ void EnetServer::Update() {
break;
}
} while (m_Host.CheckEvents(&event));
} else if (service < 0) {
m_Running = false;
}
}
@@ -102,5 +104,9 @@ void EnetServer::Destroy() {
m_Host.Destroy();
}
bool EnetServer::IsClosed() const {
return !m_Running;
}
} // namespace network
} // namespace blitz