public Player(string name, string avatarPath, PawnColor pawn) { Name = name; AvatarPath = avatarPath; Pawn = pawn; PawnImagePath = "/CARCASONNE/" + "pawn" + pawn.ToString().ToLower() + ".png"; }
public void SetWinnerText(PawnColor winnerPawnColor) { WinnerText.text = winnerPawnColor.ToString().ToUpper() + " WINS"; }
public void ChangeTurnText(PawnColor pawnColor) { turnText.text = pawnColor.ToString().ToUpper() + "'S TURN"; textAnimator.SetTrigger("NextTurn"); }