sightStepCountUpTo function

int sightStepCountUpTo(
  1. int lastLevel
)

Os passos da escada até o nível lastLevel (o teto de um treino).

Implementation

int sightStepCountUpTo(int lastLevel) =>
    sightIndexOf(lastLevel, sightSubLevels - 1) + 1;