Add Buttons Step & Reset

Wired up into engine
This commit is contained in:
Marty Oehme 2018-07-07 19:08:49 +02:00
parent 70e33fe135
commit a19aac6a6e

View file

@ -35,9 +35,12 @@ class AppComponent implements OnInit {
} }
void onStepClicked() { void onStepClicked() {
engine.running = false;
engine.update();
} }
void onResetClicked() { void onResetClicked() {
engine.reset();
} }
void onRandomClicked() {} void onRandomClicked() {}