Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize Player class on server #122

Closed
coyotte508 opened this issue Jul 10, 2012 · 1 comment
Closed

Reorganize Player class on server #122

coyotte508 opened this issue Jul 10, 2012 · 1 comment

Comments

@coyotte508
Copy link
Member

Player class with introduction of reconnect has become a bit convoluted. Plus with the state() and all involved...

I think some subclasses/structs should be created, to store the data and divide the functionality and make everything clearer.

@coyotte508
Copy link
Member Author

For example, one big classes that manages all the Analyzer (the relay classes) or at least the sockets, and their deletion.

The player class can do Orgarnizer::trash(...), and the organizer will deal with it properly, for example waiting that it sent its info before deleting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant