aboutsummaryrefslogtreecommitdiff
path: root/ecs/component.go
Commit message (Collapse)AuthorAge
* Selection is now SelectableMartin Kagamino Lehoux2026-02-17
|
* refactor: transition to struct-of-arrays ECS architectureMartin Kagamino Lehoux2026-01-15
| | | | | | | - Replace individual Entity structs with centralized component slices in Game struct (SoA layout). - Implement bitmask-based component lookup (CM_Position, CM_Move, etc.). - Convert logic from object-oriented Update() methods to standalone Systems (UpdateMoveSystem, UpdateGatherSystem, UpdateSpawnSystem). - Update rendering, selection, and input handling to iterate over component arrays.
* Refactor into packagesMartin Kagamino Lehoux2025-07-04