refactor: centralize system names, component types, entity types, and animation states into a new Constants module.

This commit is contained in:
Juan Sebastián Montoya 2026-01-06 18:58:12 -05:00
parent e9db84abd1
commit 3db2bb9160
20 changed files with 385 additions and 313 deletions

View file

@ -1,8 +1,9 @@
import { System } from '../core/System.js';
import { SystemName } from '../core/Constants.js';
export class InputSystem extends System {
constructor() {
super('InputSystem');
super(SystemName.INPUT);
this.requiredComponents = []; // No required components - handles input globally
this.priority = 0; // Run first