Ça trolle…
/
troll.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract more referee to the view
[troll.git]
/
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
(file)
--- 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 { GraphicEntityModule } from './entity-module/GraphicEntityModule.js';
+import { ToggleModule } from './toggle-module/ToggleModule.js';
export const gameName = 'Castle-Troll';
export const gameName = 'Castle-Troll';
@@
-8,5
+9,18
@@
export const playerColors = [
];
export const modules = [
];
export const modules = [
- GraphicEntityModule
+ GraphicEntityModule
+ , ToggleModule
+];
+
+export const options = [
+ ToggleModule.defineToggle({
+ toggle: 'debug',
+ title: 'Debug Mode',
+ values: {
+ 'on': true,
+ 'off': false
+ },
+ default: false
+ })
];
];