tick method

  1. @mustCallSuper
void tick(
  1. int timeDelta
)

Let this level tick.

This method will be called by Game.tick.

The timeDelta argument will be how long it has been since the game last ticked.

To prevent jank, this method should not take too long, although some time correction is performed by the Game.tick method.

Implementation

@mustCallSuper
void tick(final int timeDelta) {
  tickCommands(timeDelta);
  stopCommands(timeDelta);
  tickRandomSounds(timeDelta);
}