From f187dce4fd285a69e67c8b8067b3fe1c07f9fbb5 Mon Sep 17 00:00:00 2001 From: bakpakin Date: Fri, 19 Jun 2015 19:45:26 -0400 Subject: [PATCH] Update documentation. --- tiny.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tiny.lua b/tiny.lua index e493867..2452f8c 100644 --- a/tiny.lua +++ b/tiny.lua @@ -286,11 +286,11 @@ end -- Systems process each entity individual, and are usually what is needed. -- Processing Systems have three extra callbacks besides those inheritted from -- vanilla Systems. --- * `function system:preProcess(entities, dt)` - Called before iterating --- over each Entity. --- * `function system:process(entities, dt)` - Called for each Entity in --- the System. --- * `function system:postProcess(entity, dt)` - Called after iteration. +-- +-- function system:preProcess(entities, dt) -- Called before iteration. +-- function system:process(entities, dt) -- Process each entity. +-- function system:postProcess(entity, dt) -- Called after iteration. +-- -- Processing Systems have their own `update` method, so don't implement a -- a custom `update` callback for Processing Systems. -- @see system