12 lines
199 B
Swift
12 lines
199 B
Swift
import Foundation
|
|
import WebSocketKit
|
|
|
|
final class WaitingPlayer: Player {
|
|
|
|
var canStartGame: Bool = false
|
|
|
|
override var actions: [PlayerAction] {
|
|
canStartGame ? [.deal] : []
|
|
}
|
|
}
|