linx-simulator2/index.js
2019-09-18 11:11:16 +03:00

17 lines
395 B
JavaScript

const config = require('config');
const Simulator = require('./src/simulator');
// Read configs.
let configs = {
mumble: config.get('mumble'),
hub: config.get('hub'),
api: config.get('api'),
assets: config.get('assets'),
sounds: config.get('sounds'),
settings: config.get('settings'),
}
// Start simulation.
console.log('Starting simulation...');
var simulator = new Simulator(configs);