Skip to content

0.2.0#2

Merged
CoderGamester merged 1 commit into
masterfrom
develop
Jan 19, 2020
Merged

0.2.0#2
CoderGamester merged 1 commit into
masterfrom
develop

Conversation

@CoderGamester
Copy link
Copy Markdown
Owner

  • Added new ObjectPool & GameObjectPool pools to allow to allow to use object pools independent from the PoolService. This allows to have different pools of the same type in the project in different object controllers
  • Added new interface IPoolEntityClear that allows a callback method for entities when they are cleared from the pool
  • Added new unit tests for the ObjectPool

Changed:

  • Now the PoolService.Clear() does not take any action parameters. To have a callback when the entity is cleared, please have the entity implement the IPoolEntityClear interface

…o use object pools independent from the *PoolService*. This allows to have different pools of the same type in the project in different object controllers

- Added new interface *IPoolEntityClear* that allows a callback method for entities when they are cleared from the pool
- Added new unit tests for the *ObjectPool*

**Changed**:
- Now the PoolService.Clear() does not take any action parameters. To have a callback when the entity is cleared, please have the entity implement the *IPoolEntityClear* interface
@CoderGamester CoderGamester merged commit dc14561 into master Jan 19, 2020
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