11 lines
182 B
Swift
11 lines
182 B
Swift
|
import Foundation
|
||
|
|
||
|
struct CardInfo: Codable {
|
||
|
|
||
|
/// The cards for a player
|
||
|
let cards: [CardId]
|
||
|
|
||
|
/// Indicates if the card can be played
|
||
|
let playable: [Bool]
|
||
|
}
|