cellular-automata/lib/service/simulation_service.dart

20 lines
304 B
Dart
Raw Normal View History

import 'package:rules_of_living/service/engine_service.dart';
class SimulationService {
final EngineService engine;
SimulationService(this.engine);
void reset() {
engine.reset();
}
void addRandomPattern() {
engine.addRandomPattern();
}
void clear() {
engine.clear();
}
}