diff --git a/doc/index.html b/doc/index.html index 503acce..dd113ea 100644 --- a/doc/index.html +++ b/doc/index.html @@ -311,7 +311,9 @@ filter = tiny.requireAll("image", tiny.rejectAny("Player", "Enemy"))

System functions

- A System is a wrapper around function callbacks for manipulating Entities. + + +

A System is a wrapper around function callbacks for manipulating Entities. Systems are implemented as tables that contain at least one method; an update function that takes parameters like so:

@@ -390,11 +392,17 @@ end

There is another option to (hopefully) increase performance in systems that have items added to or removed from them often, and have lots of entities in - them. Setting the nocache' field of the system might improve performance. + them. Setting the nocache field of the system might improve performance. It is still experimental. There are some restriction to systems without - caching, however. * There is no entities` table. * Callbacks such onAdd, - onRemove, and onModify will never be called * Noncached systems cannot be - sorted (There is no entities list to sort). + caching, however.

+ + + +
@@ -714,7 +722,7 @@ end
generated by LDoc 1.4.3 -Last updated 2016-08-10 21:42:26 +Last updated 2016-08-10 21:48:45