Anders-E/Ouija

Break down main.ts into smaller files

Anders-E opened this issue · 4 comments

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.

OuijaScene and Network classes created in 2123520.
Still too tightly tied to main.ts.

The classes should probably be namespaces or simply modules instead of classes.

Closed in aa3e110