Scene Actions API #86
Labels
No labels
0. Imported
1. Bug
1. Clean-up
1. Feature
1. Improvement
2. Deliverable
2. Epic
3. Duplicate
3. Invalid
3. Need investigation
4. Assets
4. Birb Core
4. Debug
4. Dependencies
4. Inputs
4. Lang
4. Scenes
4. Screen
4. World
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: epervier/epervier-old#86
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A SceneAction would be a very simple object, tied to the scene, that would just have the current scene as a . It will have a series of functions
Uses:
Notes:
Maybe that instead of using another object to hold the action, the API should just be a callback system, to link an action to a function.
The "action" would be the caller of the function, for instance
The "action API" could also be handled by a special mixin that would contain the function to sanitize and call an action
Same API than the one used for key events.
Nope