- initVariables(fen)
- {
- const epSq = this.moves.length > 0 ? this.getEpSquare(this.lastMove) : undefined;
- this.epSquares = [ epSq ];
- }
-
- static IsGoodFlags(flags)
- {
- return true; //anything is good: no flags
- }
-
- setFlags(fenflags)
- {
- // No castling, hence no flags; but flags defined for compatibility
- this.castleFlags = { "w":[false,false], "b":[false,false] };
- }