Organic looking random walls using noise start

This commit is contained in:
M4YX0R
2021-12-11 09:33:12 +03:00
parent 7a4c19bbdf
commit f9da6ac81f
4 changed files with 28 additions and 3 deletions

View File

@@ -327,6 +327,9 @@ class ControlPanel {
env.auto_reset = false;
$('#auto-reset').prop('checked', false);;
});
$('#random-walls').click( function() {
this.env_controller.randomizeWalls();
}.bind(this));
$('#auto-reset').change(function() {
env.auto_reset = this.checked;
});