Schafkopf-Server/Sources/App/Model/Card/PlayableCard.swift

13 lines
176 B
Swift
Raw Permalink Normal View History

2021-12-06 11:40:53 +01:00
import Foundation
struct PlayableCard {
let card: Card
var isPlayable: Bool
var cardInfo: CardInfo {
.init(card: card.id, playable: isPlayable)
}
}