Break down main.ts into smaller files
Anders-E opened this issue · 4 comments
Anders-E commented
main.ts (no class)
Sets up all classes and connects the pieces.
OuijaScene
Contains everything regarding non-UI graphics.
Network
Contains everything regarding network (communication w/ server)
UI
Contains everything regarding the DOM UI.
EventSystem
Basically the current class but extended. Includes all references to assets used for events.
Anders-E commented
OuijaScene and Network classes created in 2123520.
Still too tightly tied to main.ts.
Anders-E commented
The classes should probably be namespaces or simply modules instead of classes.