コード例 #1
0
 public CommandManager()
 {
     CleanOfficeCommand = new CleanOfficeCommand
     {
         MovementCommands = new List <MovementCommand>()
     };
 }
コード例 #2
0
ファイル: Robot.cs プロジェクト: andrii-katolyk/CleaningRobot
 public Robot(CleanOfficeCommand cleanOfficeCommand, IReporter reporter)
 {
     _cleanOfficeCommand = cleanOfficeCommand;
     _reporter           = reporter;
     CurrentPosition     = cleanOfficeCommand.StartPosition;
 }