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

Psy.Loop should have a Psy.Step as a child #104

Open
maartenuni opened this issue Feb 14, 2024 · 0 comments
Open

Psy.Loop should have a Psy.Step as a child #104

maartenuni opened this issue Feb 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@maartenuni
Copy link
Contributor

Currently, using Psy.Loops, you have to connect to the Loop::iteration signal in order to do something, or override the loop.iteration virtual function in a derived class. This works, but it isn't so nice as Steps, typically activate other steps.
So It would be nice to be able to create a single step/child property of loop. Than on each iteration of the loop, that sub step can be activated and when leaving the substep, you can cause a new iteration of the loop. This way it should be possbile to put new steps inside of a Loop and run the step on each iteration of the loop.

@maartenuni maartenuni added the enhancement New feature or request label Feb 14, 2024
@maartenuni maartenuni self-assigned this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant