Simplify game files structure
guerro323 opened this issue · comments
Guerro323 commented
bit of a mess as of now, the best would be to make component and systems files in the same folder
Structure suggestions:
Mixed theme structure
Components and systems of the same theme are in the same folder.
When there is too many components, it should be put into a special folder
eg:
Game/
- GamePlay/
- Units/
- Components/
- UnitArchetype.cs
- UnitCurrentKit.cs
- ...
-
Component/System folder structure into a common theme
This is almost already the way it work, but the Components/ folder should be put inside Game/
eg:
Game/
- Components/
- GamePlay/
- Units/
- UnitArchetype.cs
- UnitCurrentKit.cs
- ...
- Systems/
- GamePlay/
- Units/
- UpdateUnitPlayStateSystem.cs
- UpdateUnitStatusEffectSystem.cs
- ...
-