public ConsoleCommandController(BaseView view) : base(view) { _moveCmd = new MoveAction(); _leftCmd = new LeftAction(); _rightCmd = new RightAction(); _plcCmd = new PlaceAction(); _reportCmd = new ReportAction(); }
public ConsoleKeyboardController(BaseView view) : base(view) { _moveCmd = new MoveAction(); _leftCmd = new LeftAction(); _rightCmd = new RightAction(); _plcCmd = new PlaceAction(); _reportCmd = new ReportAction(); this.View.Grid.Robot.CurrentPosition = new Position { Direction = Direction.NORTH, X = 0, Y = 0 }; this.View.Grid.Robot.IsPlaced = true; }
public BaseRemoteControl(BaseView view) { //this.Grid = g; View = view; }