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:
parent
b37487a222
commit
17697070ee
4 changed files with 33 additions and 42 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue