let config={version:"v0.1 dev",build:1,title:"Open Logistic Tycoon",include:{css:["game/resources/dist.min.css"]},modules:{square:!0},plugins:{sample:!1}};class Boot{constructor(e){console.log("Init Boot"),this.app=e,this.renderTitle(),this.includeCSS(),this.loader=new Loader}includeCSS(){var e,t=document.querySelector("head");for(e of config.include.css)t.innerHTML=t.innerHTML+`<style type="text/css" rel="stylesheet" src="${e}">`}renderTitle(){document.querySelector("title").innerHTML=config.title+" "+config.version}}let kernelInit=function(e){return this.boot=new Boot(e),this},app={};document.addEventListener("DOMContentLoaded",e=>{app.kernel=kernelInit()});class Loader{constructor(){console.log("Init Loader")}} //# sourceMappingURL=app.js.map