export class System { constructor(executor) { this.executor = executor; } execute(world) { if (this.executor) { this.executor(world); } } }