Schafkopf-Server/Sources/App/Model/Players/WaitingPlayer.swift
2021-12-20 20:18:19 +01:00

12 lines
199 B
Swift

import Foundation
import WebSocketKit
final class WaitingPlayer: Player {
var canStartGame: Bool = false
override var actions: [PlayerAction] {
canStartGame ? [.deal] : []
}
}