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

idea: Action structure includes step used to process it #63

Open
michaeljb opened this issue Aug 20, 2023 · 0 comments
Open

idea: Action structure includes step used to process it #63

michaeljb opened this issue Aug 20, 2023 · 0 comments

Comments

@michaeljb
Copy link
Owner

after a step processes an action, that action could be updated so it knows which step processed it. Then when the game is re-loaded in the future, instead of iterating through steps to find one that can process it, it is just a fast lookup to grab the right step.

downside: if logic changes which step would process an action, an action would continue to be processed with the same step that processed it when it was created

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

No branches or pull requests

1 participant