changePriorityWithoutResorting method

  1. @Deprecated('Will be removed in 1.8.0. Use priority setter instead.')
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

@Deprecated('Will be removed in 1.8.0. Use priority setter instead.')
// ignore: use_setters_to_change_properties
void changePriorityWithoutResorting(int priority) => _priority = priority;