opensuspect-legacy
opensuspect-legacy copied to clipboard
Consolidate networking stuff into network.gd
Right now connection handling is split between main.gd and network.gd, when ideally it should all be in network.gd. This includes names, version checking, etc..
Should players' names (and colors) be in network.gd or in player.gd? Each player has a name and color, and they need to be used for rendering.
I think names should be stored in network.gd just so that they're accessible from anywhere, same with colors. Probably in dictionaries where names and colors are stored according to player IDs.
As per @TheSecondReal0, this issue should not be closed yet.