added saving/loading sim controls

This commit is contained in:
MaxRobinsonTheGreat
2021-12-18 15:05:35 -06:00
parent 9691583f73
commit 302eeae2fb
4 changed files with 38 additions and 5 deletions

5
dist/index.html vendored
View File

@@ -233,7 +233,10 @@
<label for="food-blocks" title='When on, reproduction will fail if offspring intersect with food. When off, offspring will remove blocking food.'>Food blocks reproduction</label>
<input type="checkbox" id="food-blocks" checked>
<br>
<button id='save-controls'>Save</button>
<button id='load-controls'>Load</button>
<a id="download-el" style="display: none;"></a>
<input id="upload-el" style="display: none;" type="file">
</div>
</div>
<div id='stats' class='tab'>