Am 22.03.20 um 20:01 schrieb Sulp Sulpc:
If you are concerned about performance, just don't update positions when
a lobby message arrives.
However, you should probably also think about splitting your code into
three modules: lobby, running game, and common code (the latter would
include one or two Kryonet channels).
Now that's going awfully off topic of this list, which is about Kryonet
itself, not about software design. Kryonet is just a part of the
foundation, you're asking whether one should have one or two front
gates... it is just the wrong audience.
There's plenty of advice about networked game programming to be found
via any search engine.
Good luck.
Regards,
JO