13 lines
176 B
Swift
13 lines
176 B
Swift
import Foundation
|
|
|
|
struct PlayableCard {
|
|
|
|
let card: Card
|
|
|
|
var isPlayable: Bool
|
|
|
|
var cardInfo: CardInfo {
|
|
.init(card: card.id, playable: isPlayable)
|
|
}
|
|
}
|