Skip to content

Sequence Tick Behavior #1

@futureneer

Description

@futureneer

Hello!

I was looking at your code and I had a question, and this seemed to be the best place to ask. On your blog you talk about a "tick" propagating through the tree. How then does your implementation of sequence (and selector as well) behave in that case? Because you have a loop that runs each of the children every time the selectors run is called, even if a child node is running.

Shouldn't the selector keep track of which child is running and only tick that child? Then once it succeeds, the selector starts ticking the next child?

Thanks for the info!
Cheers,
Kel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions