You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
396 B
19 lines
396 B
import { GUI } from "dat.gui";
|
|
|
|
export class Settings {
|
|
constructor(rapierDebug) {
|
|
this.gui = new GUI();
|
|
this.rapierDebug = rapierDebug;
|
|
|
|
this.params = {
|
|
rapierDebug: rapierDebug
|
|
}
|
|
|
|
this._init();
|
|
}
|
|
|
|
_init() {
|
|
const generalFolder = this.gui.addFolder('General');
|
|
generalFolder.add(this.params, 'rapierDebug');
|
|
}
|
|
}
|