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

Divide the state #5

Open
danprince opened this issue Jul 10, 2016 · 0 comments
Open

Divide the state #5

danprince opened this issue Jul 10, 2016 · 0 comments

Comments

@danprince
Copy link
Owner

Split state up into game state and tool state.

  • Grid, cursor etc all live in game state.
  • Mouse state, key state all live in tool state.

This will enable undo functionality to be built onto game state.

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