changePriorityWithoutResorting method

void changePriorityWithoutResorting(
  1. int priority
)

Usually this is not something that the user would want to call since the component list isn't re-ordered when it is called. See FlameGame.changePriority instead.

Implementation

void changePriorityWithoutResorting(int priority) => _priority = priority;