Permalink
Browse files

Pathfinder widening now works

  • Loading branch information...
1 parent 8a347ca commit ba13aadf64e2cefe10014d4b9d2b628445400e66 @izb committed May 21, 2013
Showing with 310 additions and 326 deletions.
  1. +226 −0 dist/doc/slowqueue.SlowQueue.html
  2. +0 −226 dist/doc/slowqueue.html
  3. +21 −29 dist/snaps.js
  4. +42 −42 dist/snaps.min.js
  5. +18 −26 src/ai/pathfinder.js
  6. +3 −3 src/tasks/slowqueue.js
@@ -167,6 +167,232 @@ <h4 class="name" id="SlowQueue"><span class="type-signature"></span>new SlowQueu
+ <h3 class="subsection-title">Methods</h3>
+
+ <dl>
+
+<dt>
+ <h4 class="name" id="addTask"><span class="type-signature"></span>addTask<span class="signature">(task, <span class="optional">priority</span>)</span><span class="type-signature"></span></h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Add a new task to the queue
+ </div>
+
+
+
+
+
+
+
+ <h5>Parameters:</h5>
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+ <th>Argument</th>
+
+
+
+ <th>Default</th>
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>task</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Object</span>
+
+
+
+ </td>
+
+
+ <td class="attributes">
+
+
+
+
+
+ </td>
+
+
+
+ <td class="default">
+
+ </td>
+
+
+ <td class="description last">A task to add</td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>priority</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Number</span>
+
+
+
+ </td>
+
+
+ <td class="attributes">
+
+ &lt;optional><br>
+
+
+
+
+
+ </td>
+
+
+
+ <td class="default">
+
+ 1
+
+ </td>
+
+
+ <td class="description last">The task priority. High priority tasks will be
+done before low ones. Partially completed tasks always have top priority. Low numbers
+are higher priority than high numbers.</td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <h4 class="name" id="run"><span class="type-signature"></span>run<span class="signature">()</span><span class="type-signature"></span></h4>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ Runs the task queue. The queue will make a best effort to return within the
+configured max frame time.
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+</dd>
+
+ </dl>
+
Oops, something went wrong.

0 comments on commit ba13aad

Please sign in to comment.