Add Save and Load Buttons to Interface
Fully functional and tested.
This commit is contained in:
parent
22dabda987
commit
92e147028e
2 changed files with 8 additions and 3 deletions
|
|
@ -29,8 +29,12 @@ class ControlsComponent {
|
|||
engine.step();
|
||||
}
|
||||
|
||||
void onResetClicked() {
|
||||
sim.reset();
|
||||
void onSaveClicked() {
|
||||
sim.save();
|
||||
}
|
||||
|
||||
void onLoadClicked() {
|
||||
sim.load();
|
||||
}
|
||||
|
||||
void onRandomClicked() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue