checkProcessing method

  1. @override
  2. @visibleForOverriding
bool checkProcessing()
override

Returns true if the system should be processed, false if not.

Implementation

@override
@visibleForOverriding
bool checkProcessing() {
  _acc += world.delta;
  _intervalDelta += world.delta;
  if (_acc >= interval) {
    _acc -= interval;
    return true;
  }
  return false;
}