refactor: no queries

This commit is contained in:
cha0s 2024-06-11 02:56:29 -05:00
parent f2445648c4
commit d62e958d69
2 changed files with 0 additions and 12 deletions

View File

@ -2,12 +2,6 @@ import {System} from '@/ecs/index.js';
export default class CalculateAabbs extends System {
static queries() {
return {
default: ['Position', 'VisibleAabb'],
};
}
tick() {
const {diff} = this.ecs;
for (const id in diff) {

View File

@ -3,12 +3,6 @@ import {System} from '@/ecs/index.js';
export default class FollowCamera extends System {
static queries() {
return {
default: ['Camera', 'Position'],
};
}
reindex(entities) {
super.reindex(entities);
for (const id of entities) {