libgdx/gdx-ai

POOL field in MessageDispatcher should not be static?

damcaoson opened this issue · 1 comments

Hi,

My case is I'm using multiple MessageDispatcher in parallel but the POOL field in the class is shared for all instances, which causes failure in my use case. I think it is fine to remove the static modifier. What do you think?

Ah, I see it is helpful to use shared POOL for multiple MessageDispatcher in a single thread. So maybe we allow set Pool for MessageDispatcher in some way?