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