diff --git a/lib/components/controls_component.dart b/lib/components/controls_component.dart index b2c09e3..02cbe1a 100644 --- a/lib/components/controls_component.dart +++ b/lib/components/controls_component.dart @@ -13,6 +13,7 @@ import 'package:rules_of_living/src/Engine.dart'; class ControlsComponent { final EngineService engineService; int simSpeed = 5; + String get speedSliderTooltip => "Simulation Speed: $simSpeed"; Engine get engine => engineService.engine; ControlsComponent(this.engineService); diff --git a/lib/components/controls_component.html b/lib/components/controls_component.html index 76a64e3..b5ab389 100644 --- a/lib/components/controls_component.html +++ b/lib/components/controls_component.html @@ -9,6 +9,6 @@ - + \ No newline at end of file