コード例 #1
0
        public CommandCenter(ICommandParser _commandParser, ICommandInvoker _commandInvoker)
        {
            robots         = new List <IRobot>();
            Mars           = new Mars();
            reportComposer = new OutputParser();


            commandParser  = _commandParser;
            commandInvoker = _commandInvoker;
            commandInvoker.SetDimensionMars(Mars);
            commandInvoker.SetRobots(robots);
        }