Move ControlService tasks into EngineService

All ControlService was used for was a redirection to the engine service. This will be further split up in the future into more logical units of responsibility.
This commit is contained in:
Unknown 2018-10-18 11:58:38 +02:00
parent b37487a222
commit 17697070ee
4 changed files with 33 additions and 42 deletions

View file

@ -1,6 +1,6 @@
import 'package:angular/angular.dart';
import 'package:angular_components/angular_components.dart';
import 'package:rules_of_living/service/control_service.dart';
import 'package:rules_of_living/service/engine_service.dart';
@Component(
selector: 'sim-controls',
@ -15,7 +15,7 @@ import 'package:rules_of_living/service/control_service.dart';
styleUrls: const ["controls_component.css"],
)
class ControlsComponent {
final ControlService ctrl;
final EngineService ctrl;
ControlsComponent(this.ctrl);