Skip to content

Integrating websocket server into existing game loop #1298

Answered by ghost
JPGygax68 asked this question in Q&A
Discussion options

You must be logged in to vote

That's an okay solution. You don't need to worry about loop::get. Initializing it like you do is intended. Loop::get is lazily initialized so you can even put your initialization in main because nothing with call it before you do.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by JPGygax68
Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@ghost
Comment options

@JPGygax68
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant