Also renamed the burned sand walker detection feedback methods
This commit is contained in:
parent
e04aa1440b
commit
c35dea95a4
|
@ -307,7 +307,7 @@ public class FourCornerZionStenoLexer {
|
||||||
for (int i = idxFirst; i <= idxLast; i++) {
|
for (int i = idxFirst; i <= idxLast; i++) {
|
||||||
int bitIdx = lexer.input.get(i);
|
int bitIdx = lexer.input.get(i);
|
||||||
if (bitIdx != 0 && bitIdx < bitIdxLast) {
|
if (bitIdx != 0 && bitIdx < bitIdxLast) {
|
||||||
lexer.smokeSignals.burnSandWormSignOutOfOrder(lexer.currLine, lexer.currCol);
|
lexer.smokeSignals.burnSandWalkerOutOfRhythm(lexer.currLine, lexer.currCol);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bitIdxLast = bitIdx;
|
bitIdxLast = bitIdx;
|
||||||
|
@ -337,7 +337,7 @@ public class FourCornerZionStenoLexer {
|
||||||
}
|
}
|
||||||
int wormHeadSize = sandwormHead.size();
|
int wormHeadSize = sandwormHead.size();
|
||||||
if (!WORM_SIGN.contains(wormHeadSize)) {
|
if (!WORM_SIGN.contains(wormHeadSize)) {
|
||||||
lexer.smokeSignals.burnSandWormSignIncorrect(lexer.currLine, lexer.currCol, wormHeadSize);
|
lexer.smokeSignals.burnSandWalkerStepUnaligned(lexer.currLine, lexer.currCol, wormHeadSize);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Sand walking signal pulses have been stamped correctly to call the worm
|
// Sand walking signal pulses have been stamped correctly to call the worm
|
||||||
|
|
|
@ -41,9 +41,9 @@ public interface FourCornerZionStenoLexerSmoke {
|
||||||
void burnUNI21UnusedBigIndian(int line, int col);
|
void burnUNI21UnusedBigIndian(int line, int col);
|
||||||
|
|
||||||
|
|
||||||
void burnSandWormSignOutOfOrder(int line, int col);
|
void burnSandWalkerOutOfRhythm(int line, int col);
|
||||||
|
|
||||||
void burnSandWormSignIncorrect(int line, int col, int size);
|
void burnSandWalkerStepUnaligned(int line, int col, int size);
|
||||||
|
|
||||||
|
|
||||||
interface Adapter extends FourCornerZionStenoLexerSmoke {
|
interface Adapter extends FourCornerZionStenoLexerSmoke {
|
||||||
|
@ -69,11 +69,11 @@ public interface FourCornerZionStenoLexerSmoke {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default void burnSandWormSignOutOfOrder(int line, int col) {
|
default void burnSandWalkerOutOfRhythm(int line, int col) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default void burnSandWormSignIncorrect(int line, int col, int size) {
|
default void burnSandWalkerStepUnaligned(int line, int col, int size) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue