Files
CoqDecks/server/app/controllers/massivedecks/cardcast/CardCastDeck.scala
T

8 lines
277 B
Scala

package controllers.massivedecks.cardcast
import models.massivedecks.Game.{Call, DeckInfo, Response}
case class CardCastDeck(id: String, name: String, calls: List[Call], responses: List[Response]) {
def info: DeckInfo = DeckInfo(id, name, calls.length, responses.length)
}