Function AnimationHelper.getProgress

Returns animation progress in interval 0..maxProgress while timeElapsed is between 0 and maxInterval; when interval exceeded, progress is maxProgress

int getProgress(
  int maxProgress
);