refactor: centralize system names, component types, entity types, and animation states into a new Constants module.
This commit is contained in:
parent
e9db84abd1
commit
3db2bb9160
20 changed files with 385 additions and 313 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue