Beispiel #1
0
 public void SetWinningPlayer(PlayerSessionSave p)
 {
     this.winningPlayer = p;
 }
Beispiel #2
0
 public void SetPlayers(Participant player, Participant opponent)
 {
     this.player   = new PlayerSessionSave(player.ParticipantId, player.DisplayName);
     this.opponent = new PlayerSessionSave(opponent.ParticipantId, opponent.DisplayName);
 }
Beispiel #3
0
 public void SetPlayerWon()
 {
     this.winningPlayer = this.player;
 }
Beispiel #4
0
 public void SetOpponentWon()
 {
     this.winningPlayer = this.opponent;
 }
Beispiel #5
0
 public void Reset()
 {
     winningPlayer = null;
     player        = null;
     opponent      = null;
 }