forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			745 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			745 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
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";
 | 
						|
import Cyclofix from "./Layouts/Cyclofix";
 | 
						|
 | 
						|
export class AllKnownLayouts {
 | 
						|
    public static allSets: any = AllKnownLayouts.AllLayouts();
 | 
						|
 | 
						|
    private static AllLayouts() {
 | 
						|
        const layouts = [
 | 
						|
            new Groen(),
 | 
						|
            new GRB(),
 | 
						|
            new Cyclofix(),
 | 
						|
            new Bookcases()
 | 
						|
            /*new Toilets(),
 | 
						|
            new Statues(),
 | 
						|
            */
 | 
						|
        ];
 | 
						|
        const allSets = {};
 | 
						|
        for (const layout of layouts) {
 | 
						|
            allSets[layout.name] = layout;
 | 
						|
        }
 | 
						|
        return allSets;
 | 
						|
    }
 | 
						|
}
 |