silphius/app/ecs-systems/index.js
2024-06-25 10:43:12 -05:00

7 lines
204 B
JavaScript

import System from '@/ecs/system.js';
import gather from '@/util/gather.js';
const gathered = gather(import.meta.glob('./*.js', {eager: true, import: 'default'}));
export default System.sort(gathered);