feat(user-sessions): introduce GameLobby and GameUtil for session management and code generation
This commit is contained in:
14
knockoutwhistweb/app/model/game/GameLobby.scala
Normal file
14
knockoutwhistweb/app/model/game/GameLobby.scala
Normal file
@@ -0,0 +1,14 @@
|
||||
package model.game
|
||||
|
||||
import de.knockoutwhist.control.GameLogic
|
||||
import de.knockoutwhist.utils.events.{EventListener, SimpleEvent}
|
||||
|
||||
class GameLobby(val logic: GameLogic) extends EventListener{
|
||||
logic.addListener(this)
|
||||
logic.createSession()
|
||||
|
||||
|
||||
override def listen(event: SimpleEvent): Unit = {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user