예제 #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();
 }
예제 #3
0
 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();
 }