Files
tower/js/tower.js

15 lines
476 B
JavaScript
Raw Normal View History

2021-05-08 20:30:37 +00:00
import { TowerMap } from './tower_map.js';
2021-05-08 12:13:14 -07:00
export function main() {
2021-05-08 13:00:59 -07:00
document.body.style.margin = '0';
document.body.style.backgroundColor = 'black';
const container = document.createElement('div');
document.body.appendChild(container);
container.style.width = '100vmin';
container.style.height = '100vmin';
const map = new TowerMap(container);
2021-05-08 20:30:37 +00:00
map.set_size(20, 20);
map.set_tileset('tropical');
2021-05-08 12:13:14 -07:00
}
;
2021-05-08 20:30:37 +00:00
main();
2021-05-08 12:13:14 -07:00
//# sourceMappingURL=tower.js.map