public CreateMatch ( System.Guid player1, System.Guid player2 ) : void | ||
player1 | System.Guid | |
player2 | System.Guid | |
Résultat | void |
public void CreateMatch(Guid player1, Guid player2)
{
Player1 = player1;
Player2 = player2;
//Create the match and set the matchid
MatchId = CloudWarsData.CreateMatch(player1, player2);
Turn = player1;
}