Commit graph

4 commits

Author SHA1 Message Date
Pablo Ariel Mayobre
743d662ef9 Replaced Pools with Filters
Filters allow for a Pool constructor (defaults to Lists) that can be used to define Custom Pools.

The constructor is a function that takes the Filter Definition and returns a Custom Pool with these functions:

:add(e) - Add the Entity to the pool
:remove(e) - Remove the Entity from the pool
:has(e) boolean - Checks if the Entity exists in the pool
:clear() - Clears the Pool from Entities

Fixes #40
2023-02-14 22:20:34 -03:00
Justin van der Leij
42213fcdf9 Fixed the love.run loop and moved it into its own file. Fixed examples 2018-04-06 23:53:37 +02:00
Justin van der Leij
4e438137a3 Merge Issues 2018-04-04 12:43:50 +02:00
Justin van der Leij
58549d6b0a Initial commit 2018-01-25 15:19:31 +01:00