diff --git a/index.html b/index.html index 659d432..32d8b11 100644 --- a/index.html +++ b/index.html @@ -58,7 +58,8 @@
Interface - + +
-
- +
Partie diff --git a/js/game_logic.js b/js/game_logic.js index c291b2a..6d1dc7e 100644 --- a/js/game_logic.js +++ b/js/game_logic.js @@ -111,15 +111,17 @@ class Scheduler { } clearInterval(func) { - if (this.intervalTasks.has(func)) + if (this.intervalTasks.has(func)) { window.clearInterval(this.intervalTasks.get(func)) this.intervalTasks.delete(func) + } } clearTimeout(func) { - if (this.timeoutTasks.has(func)) + if (this.timeoutTasks.has(func)) { window.clearTimeout(this.timeoutTasks.get(func)) this.timeoutTasks.delete(func) + } } } diff --git a/js/interface.js b/js/interface.js index d4b7176..a6bb56b 100644 --- a/js/interface.js +++ b/js/interface.js @@ -1,6 +1,3 @@ - - - class Settings { constructor() { this.form = settingsForm