Schafkopf-Server/Sources/App/Model/Players/WaitingPlayer.swift
2021-12-18 15:08:43 +01:00

23 lines
359 B
Swift

import Foundation
import WebSocketKit
final class WaitingPlayer: Player {
var canStartGame: Bool = false
override var actions: [PlayerAction] {
canStartGame ? [.deal] : []
}
override var leadsGame: Bool {
get { false }
set { }
}
override var points: Int? {
get { nil }
set { }
}
}