Skip to content

Added getters for the free objects in the pooled engine.#315

Open
GadWissberg wants to merge 1 commit intolibgdx:masterfrom
GadWissberg:pooled_engine_free_getter
Open

Added getters for the free objects in the pooled engine.#315
GadWissberg wants to merge 1 commit intolibgdx:masterfrom
GadWissberg:pooled_engine_free_getter

Conversation

@GadWissberg
Copy link

Hello,
I want in my game to monitor the number of free objects in the pools - this is to make sure I don't have cases where calling "free()" is missed and thus leading to creating limitlessly new objects. I also wanted to monitor on the components and entities, but found out there's no access to the pools themseleves. So I added 2 getters.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant