feat(api): Implement received hand event handling and UI updates (#83)

#76

Reviewed-on: #83
This commit is contained in:
2025-11-24 14:31:31 +01:00
parent 10a26404b3
commit 52e5033afc
10 changed files with 143 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
package util.mapper
import de.knockoutwhist.utils.events.SimpleEvent
import logic.game.GameLobby
import play.api.libs.json.JsObject
trait SimpleEventMapper[T <: SimpleEvent] {
def id: String
def toJson(event: T, gameLobby: GameLobby): JsObject
}