Module pool

Pool

Functions

Pool.new (name, filter) Creates a new Pool
Pool:eligible (e) Checks if an Entity is eligible for the Pool.


Functions

Pool.new (name, filter)
Creates a new Pool

Parameters:

  • name Identifier for the Pool.
  • filter Table containing the required Components

Returns:

    The new Pool
Pool:eligible (e)
Checks if an Entity is eligible for the Pool.

Parameters:

  • e The Entity to check

Returns:

    True if the entity is eligible, false otherwise
generated by LDoc 1.4.6 Last updated 2018-09-25 18:42:43