X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/33d43e0a726d9cb3256489d0b39feebbbb3304a4..461165963de89de529c62e4be8da94c44d32b91f:/src/main/resources/view/config.js diff --git a/src/main/resources/view/config.js b/src/main/resources/view/config.js index 50b1654..164519f 100644 --- a/src/main/resources/view/config.js +++ b/src/main/resources/view/config.js @@ -1,4 +1,5 @@ import { GraphicEntityModule } from './entity-module/GraphicEntityModule.js'; +import { ToggleModule } from './toggle-module/ToggleModule.js'; export const gameName = 'Castle-Troll'; @@ -8,5 +9,18 @@ export const playerColors = [ ]; export const modules = [ - GraphicEntityModule + GraphicEntityModule + , ToggleModule +]; + +export const options = [ + ToggleModule.defineToggle({ + toggle: 'debug', + title: 'Debug Mode', + values: { + 'on': true, + 'off': false + }, + default: false + }) ];