20 lines
304 B
Dart
20 lines
304 B
Dart
|
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();
|
||
|
}
|
||
|
}
|