sightStep function

SightStep sightStep(
  1. int level,
  2. int sub
)

O passo do level (1 ao último) no subnível sub (0 a 3). Do 21 em diante, o a e o b não existem: valem o c, o primeiro passo do nível.

Implementation

SightStep sightStep(int level, int sub) =>
    sightSteps[sightIndexOf(level, max(sub, sightFirstSubOf(level)))];