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

This commit is contained in:
2025-11-23 17:39:36 +01:00
parent 8ca909db52
commit a452e7753b
9 changed files with 124 additions and 7 deletions

View File

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