import * as THREE from 'three' import { Application } from '../../src' import { ExampleSystem } from './example-system' const el: any = document.getElementById('app') const app = new Application(el) app.start() const system = new ExampleSystem() app.addSystem(system) setTimeout(() => { const { EventManager } = app EventManager.publish('move', { position: new THREE.Vector3(3000, 0, 0), animateTime: 5000 }) }, 1000)