diff --git a/doc/index.html b/doc/index.html index eade8a0..52f4afb 100644 --- a/doc/index.html +++ b/doc/index.html @@ -303,6 +303,10 @@ filter = tiny.requireAll("image", tiny.rejectAny("Player", "Enemy")) from the System.
function system:onModify(dt) - Called when the System is modified by
adding or removing Entities from the System.function system:onAddToWorld(world) - Called when the System is added
+ to the World, before any entities are added to the system.function system:onRemoveFromWorld(world) - Called when the System is
+ removed from the world, after all Entities are removed from the System.For Filters, it is convenient to use tiny.requireAll or tiny.requireAny, @@ -678,7 +682,7 @@ end