scaenae/js/main.js

25 lines
618 B
JavaScript

import Map from "./map.js";
import Scene from "./scene.js";
/*
Main js entry for ATON web-app
===============================================*/
// Realize our app
let APP = ATON.App.realize();
// You can require here flares (plugins) if needed by the app
//APP.requireFlares(["myFlare","anotherFlare"]);
// APP.setup() is required for web-app initialization
// You can place here UI setup (HTML), events handling, etc.
APP.setup = ()=>{
Map.init('map');
Scene.toggleScene('back');
};
/* If you plan to use an update routine (executed continuously), you can place its logic here.
APP.update = ()=>{
};
*/