forked from MapComplete/MapComplete
New question system
This commit is contained in:
parent
1738fc4252
commit
d1f8080c24
45 changed files with 1391 additions and 689 deletions
24
Customizations/AllKnownLayouts.ts
Normal file
24
Customizations/AllKnownLayouts.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import {Groen} from "./Layouts/Groen";
|
||||
import {Toilets} from "./Layouts/Toilets";
|
||||
import {GRB} from "./Layouts/GRB";
|
||||
import {Statues} from "./Layouts/Statues";
|
||||
import {Bookcases} from "./Layouts/Bookcases";
|
||||
|
||||
export class AllKnownLayouts {
|
||||
public static allSets: any = AllKnownLayouts.AllLayouts();
|
||||
|
||||
private static AllLayouts() {
|
||||
const layouts = [
|
||||
new Groen(),
|
||||
new GRB(),
|
||||
/*new Toilets(),
|
||||
new Statues(),
|
||||
new Bookcases()*/
|
||||
];
|
||||
const allSets = {};
|
||||
for (const layout of layouts) {
|
||||
allSets[layout.name] = layout;
|
||||
}
|
||||
return allSets;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue