From e54f29884ce0e768c79e349705f6234cb727575d Mon Sep 17 00:00:00 2001 From: bakpakin Date: Mon, 4 May 2015 09:24:36 +0800 Subject: [PATCH] Remove systemData from luadoc. --- spec/tiny_spec.lua | 2 +- tiny.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/tiny_spec.lua b/spec/tiny_spec.lua index d3532c3..e71ddf3 100644 --- a/spec/tiny_spec.lua +++ b/spec/tiny_spec.lua @@ -1,5 +1,5 @@ local tiny = require "tiny" - +print("tiny version: " .. tiny._VERSION) -- Taken from answer at http://stackoverflow.com/questions/640642/how-do-you-copy-a-lua-table-by-value local function deep_copy(o, seen) seen = seen or {} diff --git a/tiny.lua b/tiny.lua index b2055a2..63451d1 100644 --- a/tiny.lua +++ b/tiny.lua @@ -111,7 +111,7 @@ end -- `function system:filter(entity)` - returns a boolean, -- `function system:onAdd(entity)` - returns nil, -- `function system:onRemove(entity)` - returns nil, --- `function system:onModify(systemData, dt)` - returns nil. +-- `function system:onModify(dt)` - returns nil. -- For Filters, it is conveient to use `tiny.requireAll` or `tiny.requireOne`, -- but one can write their own filters as well. -- @param table A table to be used as a System, or `nil` to create a new System. @@ -158,7 +158,7 @@ end -- `function system:postProcess(entities, dt)` - returns nil, -- `function system:onAdd(entity)` - returns nil, -- `function system:onRemove(entity)` - returns nil, --- `function system:onModify(systemData, dt)` - returns nil. +-- `function system:onModify(dt)` - returns nil. -- For Filters, it is conveient to use `tiny.requireAll` or `tiny.requireOne`, -- but one can write their own filters as well. -- @param table A table to be used as a System, or `nil` to create a new