public static string GetObjectName(EnMoveChoise moveChoice)
        {
            switch (moveChoice)
            {
            case EnMoveChoise.Paper:
                return("Paper");

            case EnMoveChoise.Rock:
                return("Rock");

            case EnMoveChoise.Scissors:
                return("Scissors");

            default:
                return("Unknown!");
            }
        }
示例#2
0
 public void AssigmentHumanMove(EnMoveChoise humanMove)
 {
 }
示例#3
0
 public void AssigmentHumanMove(EnMoveChoise humanMove)
 {
     currentChoice = humanMove;
 }