Update some documentation.

This commit is contained in:
bakpakin
2015-06-19 19:46:06 -04:00
parent a38165da26
commit 6c2b0a5629
+6 -8
View File
@@ -363,14 +363,12 @@ end
Systems process each entity individual, and are usually what is needed.
Processing Systems have three extra callbacks besides those inheritted from
vanilla Systems.</p>
<pre><code> * &lt;code&gt;function system:preProcess(entities, dt)&lt;/code&gt; - Called before iterating
</code></pre>
<p> over each Entity.</p>
<pre><code> * &lt;code&gt;function system:process(entities, dt)&lt;/code&gt; - Called for each Entity in
</code></pre>
<p> the System.</p>
<pre><code> * &lt;code&gt;function system:postProcess(entity, dt)&lt;/code&gt; - Called after iteration.
<pre><code> function system:preProcess(entities, dt) -- Called before iteration.
function system:process(entities, dt) -- Process each entity.
function system:postProcess(entity, dt) -- Called after iteration.
</code></pre>
<p> Processing Systems have their own <a href="index.html#tiny.update">update</a> method, so don't implement a
a custom <a href="index.html#tiny.update">update</a> callback for Processing Systems.
@@ -654,7 +652,7 @@ end
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-06-19 19:27:22 </i>
<i style="float:right;">Last updated 2015-06-19 19:45:33 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>