pub struct SequenceWithMemoryNode { /* private fields */ }Expand description
The SequenceStarNode is used to tick children in an ordered sequence. If any child returns RUNNING, previous children are not ticked again.
-
If all the children return SUCCESS, this node returns SUCCESS.
-
If a child returns RUNNING, this node returns RUNNING. Loop is NOT restarted, the same running child will be ticked again.
-
If a child returns FAILURE, stop the loop and return FAILURE. Loop is NOT restarted, the same running child will be ticked again.
Implementations§
Source§impl SequenceWithMemoryNode
impl SequenceWithMemoryNode
pub fn create_node(name: impl AsRef<str>, config: NodeConfig) -> TreeNode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SequenceWithMemoryNode
impl RefUnwindSafe for SequenceWithMemoryNode
impl Send for SequenceWithMemoryNode
impl Sync for SequenceWithMemoryNode
impl Unpin for SequenceWithMemoryNode
impl UnsafeUnpin for SequenceWithMemoryNode
impl UnwindSafe for SequenceWithMemoryNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more