multiply the TaskManager like the bred

Hello,

For more clarity in my code, I create a taskManager for each action I want to follow (mouse, keyboard, events, collision, …).
Is that a problem to have a lot of tasks? What the more efficient?

thanks

Do you mean you create a task for each of these? I hope you’re not creating a new TaskManager, since that would be silly (there only needs to be one TaskManager).

There’s nothing wrong in principle with creating lots of separate tasks. It comes down to how you want to organize your own code.

David