import {System} from '@/ecs/index.js'; export default class KillPerishable extends System { static queries() { return { default: ['Ttl'], }; } tick(elapsed) { for (const {Ttl} of this.select('default')) { Ttl.tick(elapsed); } } }