libgdx / ashley

A Java entity system inspired by Ash & Artemis.
Apache License 2.0
871 stars 144 forks source link

How to avoid unimplemented poolable component? #289

Closed ronjunevaldoz closed 4 years ago

ronjunevaldoz commented 4 years ago

I am experiencing or I always forgot to implement Poolable on pooled components and this causing a lot of bugs to my system.

mgsx-dev commented 4 years ago

you can make your own abstract class (ComponentBase) implementing both Component and Poolable. BTW please use community channels (discord and such) instead of issue tracker when asking for help with your code.