Пример #1
0
        public void Stop()
        {
            _processor = null;

            Started.Value = false;
            _stepTime = 1;
            DisplayGrid.Value = _currentGrid;

            CanStep.Value = false;
            EditEnabled.Value = true;
        }
Пример #2
0
        public void Start()
        {
            Started.Value = true;
            _stepTime = 1;

            CanStep.Value = Speed.Value == 0;
            EditEnabled.Value = CanStep.Value;

            _processor = new AutomataProcessor(_currentDefinition, _currentGrid);
        }