Add Buttons Step & Reset
Wired up into engine
This commit is contained in:
parent
70e33fe135
commit
a19aac6a6e
1 changed files with 3 additions and 0 deletions
|
@ -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() {}
|
||||||
|
|
Loading…
Reference in a new issue