feat(user-sessions): introduce GameLobby and GameUtil for session management and code generation
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package model.sessions
|
||||
|
||||
import de.knockoutwhist.player.AbstractPlayer
|
||||
import de.knockoutwhist.utils.events.SimpleEvent
|
||||
|
||||
import java.util.UUID
|
||||
@@ -8,6 +9,7 @@ trait PlayerSession {
|
||||
|
||||
def id: UUID
|
||||
def name: String
|
||||
def player: AbstractPlayer
|
||||
def updatePlayer(event: SimpleEvent): Unit
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user