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; }
// Default Constructor public BaseLevelViewModel() { StartMovement = new RelayCommand(SendCommandsToRobot); _level = PathForLevel.Level2; }
public PathUpdatedEventArgs(PathForLevel level, BindingList <MoveCommand> commandList) { Level = level; CommandList = commandList; }