-
Notifications
You must be signed in to change notification settings - Fork 56
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
Saving Cell Calls to the game file #299
base: main
Are you sure you want to change the base?
Conversation
Also, added Game.world:removeCall(name) and adjusted the functionality of Game.world:replaceCall(name, index (now old_name), scene)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good system to me, however I'd suggest that, if changing and breaking the existing cell system, it should be moved out of World
into Game
directly, since it's static data and has nothing to do with the temporary world state, especially given it's saved to the file now.
To fit with the addition of removeCall
, also consider renaming registerCall
to addCall
.
I've done the changes you requested |
@SylviBlossom The reason I kept it as |
Also, added Game.world:removeCall(name), Game.world:clearCalls() and adjusted the functionality of Game.world:replaceCall(name, index, scene)
BREAKING CHANGE!!!