public Player() { variants = rnd.Next(1, 3); switch (variants) { case 1: VARIANTS = VARIANTS.Rock; break; case 2: VARIANTS = VARIANTS.Scissors; break; case 3: VARIANTS = VARIANTS.Paper; break; } name = "Bot"; }
public Player(VARIANTS variants, string name) { this.name = name; this.VARIANTS = variants; }