feat(ui): added working ingame ui

Added ingame ui with bootstrap. There were problems with the lock procedure which are now fixed.
This commit is contained in:
LQ63
2025-11-05 02:19:26 +01:00
parent 89d1626bb2
commit ee3f65efd9
5 changed files with 47 additions and 41 deletions

View File

@@ -180,6 +180,10 @@ class GameLobby private(
users.clone()
}
def getLogic: GameLogic = {
logic
}
private def getPlayerBySession(userSession: UserSession): AbstractPlayer = {
val playerOption = getMatch.totalplayers.find(_.id == userSession.id)
if (playerOption.isEmpty) {