Пример #1
0
 public Dumbness(IRobotStratedgy underlying, int misspercent)
 {
     _missPercent = misspercent;
     _underlying  = underlying;
     if (misspercent < 0 || misspercent > 100)
     {
         throw new ArgumentOutOfRangeException("missperceent", "must be between 0 and 100 percent");
     }
 }
Пример #2
0
 public Dumbness(IRobotStratedgy underlying, int misspercent)
 {
     _missPercent = misspercent;
     _underlying = underlying;
     if ( misspercent < 0 || misspercent > 100)
     {
         throw new ArgumentOutOfRangeException("missperceent", "must be between 0 and 100 percent");
     }
 }
Пример #3
0
 public RobotPlayer(Tiles t, IRobotStratedgy strat, string name) : base(t)
 {
     _strat = strat;
     _name = name;            
 }
Пример #4
0
 public RobotPlayer(Tiles t, IRobotStratedgy strat, string name) : base(t)
 {
     _strat = strat;
     _name  = name;
 }