12345678910 |
- require('System');
- require('SpaceRPGGame');
- var canvas, system, game;
- document.addEventListener('JSContentLoaded', (event) => {
- canvas = document.getElementById('spacerpg');
- system = new System();
- game = new SpaceRPGGame();
- system.attach(game, canvas);
- });
|