mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-21 23:56:50 -06:00
Update some documentation.
This commit is contained in:
+6
-8
@@ -363,14 +363,12 @@ end
|
|||||||
Systems process each entity individual, and are usually what is needed.
|
Systems process each entity individual, and are usually what is needed.
|
||||||
Processing Systems have three extra callbacks besides those inheritted from
|
Processing Systems have three extra callbacks besides those inheritted from
|
||||||
vanilla Systems.</p>
|
vanilla Systems.</p>
|
||||||
<pre><code> * <code>function system:preProcess(entities, dt)</code> - Called before iterating
|
|
||||||
</code></pre>
|
<pre><code> function system:preProcess(entities, dt) -- Called before iteration.
|
||||||
<p> over each Entity.</p>
|
function system:process(entities, dt) -- Process each entity.
|
||||||
<pre><code> * <code>function system:process(entities, dt)</code> - Called for each Entity in
|
function system:postProcess(entity, dt) -- Called after iteration.
|
||||||
</code></pre>
|
|
||||||
<p> the System.</p>
|
|
||||||
<pre><code> * <code>function system:postProcess(entity, dt)</code> - Called after iteration.
|
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p> Processing Systems have their own <a href="index.html#tiny.update">update</a> method, so don't implement a
|
<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.
|
a custom <a href="index.html#tiny.update">update</a> callback for Processing Systems.
|
||||||
|
|
||||||
@@ -654,7 +652,7 @@ end
|
|||||||
</div> <!-- id="main" -->
|
</div> <!-- id="main" -->
|
||||||
<div id="about">
|
<div id="about">
|
||||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
<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="about" -->
|
||||||
</div> <!-- id="container" -->
|
</div> <!-- id="container" -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user