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

Phase 1 Refactor of Session, NetworkSession, Action handlers #266

Closed
wants to merge 9 commits into from
Closed

Conversation

Zegeger
Copy link
Contributor

@Zegeger Zegeger commented Apr 21, 2017

Merged SocketManager into WorldManager
Made Session inherit from NetworkSession, flattening the model
Moved GameMessage handlers into Session class, partial classes
Moved GameAction handlers into Player class, partial classes
This move makes functionality encapsulated into these classes, allowing a move to fewer public members.
Phase 2 will be to build on WorldObject model to improve queued game actions, broadcast, and action ordering/timing.

…r, added stateful progression of events. Trying to encapsulate logic better. This is lead up to major rebase of how Messages/Actions are handled.
…rked delegate callers to handle that. Now all message handler calls are effectivly an instance function call for Session.
@Zegeger Zegeger closed this Apr 21, 2017
@Zegeger Zegeger deleted the Phase1 branch April 21, 2017 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant