Clean up code

Update WeddingPlayer.swift
This commit is contained in:
Christoph Hagen
2021-12-26 16:38:16 +01:00
parent f10c3dc8c9
commit 707c6d03de
3 changed files with 1 additions and 18 deletions

View File

@@ -22,8 +22,6 @@ struct PlayerInfo: Codable, Equatable {
/// The number of times the player doubled the game cost (initial double and raises)
var numberOfDoubles = 0
var leadsGame = false
var state: [PlayerStateId] = []
init(name: PlayerName) {
@@ -39,7 +37,6 @@ struct PlayerInfo: Codable, Equatable {
case playedCard = "card"
case positionInTrick = "position"
case numberOfDoubles = "doubles"
case leadsGame = "leads"
case state = "state"
}
}