msTo method
Milliseconds from the open start to stage, or -1 when unreached.
Implementation
int msTo(GameOpenStage stage) {
if (_startMs < 0) return -1;
final mark = _marks[stage];
if (mark == null) return -1;
return mark - _startMs;
}
Milliseconds from the open start to stage, or -1 when unreached.
int msTo(GameOpenStage stage) {
if (_startMs < 0) return -1;
final mark = _marks[stage];
if (mark == null) return -1;
return mark - _startMs;
}