From a19aac6a6e27ea6b470f6585d1f244b602147fde Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 7 Jul 2018 19:08:49 +0200 Subject: [PATCH] Add Buttons Step & Reset Wired up into engine --- lib/app_component.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/app_component.dart b/lib/app_component.dart index d00d4e9..e5ece87 100644 --- a/lib/app_component.dart +++ b/lib/app_component.dart @@ -35,9 +35,12 @@ class AppComponent implements OnInit { } void onStepClicked() { + engine.running = false; + engine.update(); } void onResetClicked() { + engine.reset(); } void onRandomClicked() {}