public void SetWinningPlayer(PlayerSessionSave p) { this.winningPlayer = p; }
public void SetPlayers(Participant player, Participant opponent) { this.player = new PlayerSessionSave(player.ParticipantId, player.DisplayName); this.opponent = new PlayerSessionSave(opponent.ParticipantId, opponent.DisplayName); }
public void SetPlayerWon() { this.winningPlayer = this.player; }
public void SetOpponentWon() { this.winningPlayer = this.opponent; }
public void Reset() { winningPlayer = null; player = null; opponent = null; }