Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Apache License 2.0
1.2k
stars
242
forks
source link
POOL field in MessageDispatcher should not be static? #120
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?
Hi,
My case is I'm using multiple
MessageDispatcher
in parallel but thePOOL
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?