Beispiel #1
0
        public RobotFigureViewModel(PathForLevel level)
        {
            pathForLevel = level;

            robot = RobotFactory.GetRobotInstance();

            robot.HeadingUpated += Robot_HeadingUpated;

            EventManager.OnRobotPathChanged += OnRobotPathUpdated;
        }
 public Level7ViewModel(bool acceptIfStatements, PathForLevel level)
 {
     _level        = level;
     Level8Enabled = acceptIfStatements;
 }
Beispiel #3
0
 // Default Constructor
 public BaseLevelViewModel()
 {
     StartMovement = new RelayCommand(SendCommandsToRobot);
     _level        = PathForLevel.Level2;
 }
Beispiel #4
0
 public PathUpdatedEventArgs(PathForLevel level, BindingList <MoveCommand> commandList)
 {
     Level       = level;
     CommandList = commandList;
 }