Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4ba2be

Browse files
author
Davide Faconti
committed
Deployed 1eb701c with MkDocs version: 1.0.4
1 parent dc255da commit d4ba2be

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

SequenceNode/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@
365365
<ul class="md-nav__list" data-md-scrollfix>
366366

367367
<li class="md-nav__item">
368-
<a href="#sequencenode" title="SequenceNode" class="md-nav__link">
369-
SequenceNode
368+
<a href="#sequencenode-default" title="SequenceNode (default)" class="md-nav__link">
369+
SequenceNode (default)
370370
</a>
371371

372372
</li>
@@ -518,8 +518,8 @@
518518
<ul class="md-nav__list" data-md-scrollfix>
519519

520520
<li class="md-nav__item">
521-
<a href="#sequencenode" title="SequenceNode" class="md-nav__link">
522-
SequenceNode
521+
<a href="#sequencenode-default" title="SequenceNode (default)" class="md-nav__link">
522+
SequenceNode (default)
523523
</a>
524524

525525
</li>
@@ -559,8 +559,8 @@
559559

560560
<h1 id="sequences">Sequences</h1>
561561
<p>A <strong>Sequence</strong> ticks all it's children, from left to right, as long as
562-
they return SUCCESS. If any child returns FAILURE, the sequence is suspended.</p>
563-
<p>Here we introduce different kinds of TreeNodes:</p>
562+
they return SUCCESS. If any child returns FAILURE, the sequence is aborted.</p>
563+
<p>Here we introduce different kinds of sequence nodes:</p>
564564
<ul>
565565
<li>SequenceNode</li>
566566
<li>SequenceStarNode</li>
@@ -577,7 +577,7 @@ <h1 id="sequences">Sequences</h1>
577577

578578

579579
<p>Use <strong>SequenceStarNode</strong> if, instead, the answer is: </p>
580-
<div class="codehilite"><pre><span></span>A: &quot;Try again to execute the failed child.
580+
<div class="codehilite"><pre><span></span>A: &quot;Try again to execute the child that failed.
581581
Do not re-tick children which succeeded already.&quot;
582582
</pre></div>
583583

@@ -586,15 +586,15 @@ <h1 id="sequences">Sequences</h1>
586586
once. If any of them failed, the SequenceAllNode returns FAILURE. </p>
587587
<p>The shared logic is:</p>
588588
<ul>
589-
<li>Before ticking the first child, SequenceNode becomes <strong>RUNNING</strong>.</li>
589+
<li>Before ticking the first child, sequence becomes <strong>RUNNING</strong>.</li>
590590
<li>If a child returns <strong>SUCCESS</strong>, it ticks the next child.</li>
591591
<li>If the <strong>last</strong> child returns <strong>SUCCESS</strong> too, all the children are halted and
592-
the SequenceNode returns <strong>SUCCESS</strong>.</li>
592+
the sequence returns <strong>SUCCESS</strong>.</li>
593593
<li>If a child returns <strong>RUNNING</strong>, the sequence suspends and returns <strong>RUNNING</strong>.
594594
The next time it is ticked, it will tick the same child again.</li>
595595
</ul>
596-
<p>The three Sequences differ in what they do if a child returns FAILURE.</p>
597-
<h2 id="sequencenode">SequenceNode</h2>
596+
<p>The three sequences differ in what they do if a child returns FAILURE.</p>
597+
<h2 id="sequencenode-default">SequenceNode (default)</h2>
598598
<p>If a child returns FAILURE, the sequence returns FAILURE.
599599
Reset the index and halt all the children.
600600
The entire sequence will be executed again at the next tick.</p>

0 commit comments

Comments
 (0)