示例#1
0
 public Robot(CommandSet commandSet, IReport reporter, Location bottomLeftBound, Location topRightBound)
 {
     _commandSet = commandSet;
     _reporter = reporter;
     _bottomLeftBound = bottomLeftBound;
     _topRightBound = topRightBound;
     Position = _commandSet.StartPosition;
 }
示例#2
0
 public CommandFactory()
 {
     input      = new List <string>();
     commandSet = new CommandSet();
 }
 public CommandFactory()
 {
     _inputStrings = new List<string>();
     _commandSet = new CommandSet();
 }
示例#4
0
 public Robot(CommandSet commandSet, IReport reporter) : this(commandSet, reporter, null, null)
 {
 }
示例#5
0
 public Robot(CommandSet commandSet, IReport reporter)
     : this(commandSet, reporter, null, null)
 {
 }
示例#6
0
 public CommandFactory()
 {
     _inputStrings = new List <string>();
     _commandSet   = new CommandSet();
 }