//private SettingsOutputMessage settingsOutputMessage; public SettingsUserControl(MazeSettings mazeSettings) { InitializeComponent(); this.mazeSettings = mazeSettings; opacityFade = new OpacityFade(this); opacityFade.StartAnimation(true); DataContext = mazeSettings; }
public DfsSolver(MazeDrawer mazeDrawer, MazeSettings mazeSettings, SliderValue sleep) { this.mazeDrawer = mazeDrawer; this.mazeSettings = mazeSettings; this.sleep = sleep; DrawStartCell(); DrawEndCell(); }
public Dfs(MazeDrawer mazeDrawer, BackgroundWorker backgroundWorker, SliderValue sleep, MazeSettings mazeSettings) { this.mazeDrawer = mazeDrawer; this.backgroundWorker = backgroundWorker; this.sleep = sleep; this.mazeSettings = mazeSettings; SetVar(); SetListOfUnvisitedCell(mazeDrawer); }
public MazeDrawer(MazeSettings mazeSettings) { this.mazeSettings = mazeSettings; }
private void CreateMazeDrawerAndEngine() { mazeSettings = new MazeSettings(); mazeDrawer = new MazeDrawer(mazeSettings); mazeEngine = new MazeEngine(mazeDrawer, mazeSettings); }
public MazeEngine(MazeDrawer mazeDrawer, MazeSettings mazeSettings) { this.mazeDrawer = mazeDrawer; this.mazeSettings = mazeSettings; CreateBackgroundWorker(); }