mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-01-31 01:20:46 +01:00
DroidFish: Reduced visibility of opening book implementation classes.
This commit is contained in:
parent
ce0cccb385
commit
4f4d1d95d7
|
@ -31,7 +31,7 @@ import org.petero.droidfish.gamelogic.Position;
|
|||
import org.petero.droidfish.gamelogic.TextIO;
|
||||
import org.petero.droidfish.gamelogic.UndoInfo;
|
||||
|
||||
public class CtgBook implements IOpeningBook {
|
||||
class CtgBook implements IOpeningBook {
|
||||
private BookOptions options = new BookOptions();
|
||||
private File ctgFile;
|
||||
private File ctbFile;
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.petero.droidfish.gamelogic.Position;
|
|||
import org.petero.droidfish.gamelogic.TextIO;
|
||||
import org.petero.droidfish.gamelogic.UndoInfo;
|
||||
|
||||
public final class InternalBook implements IOpeningBook {
|
||||
final class InternalBook implements IOpeningBook {
|
||||
private static Map<Long, List<BookEntry>> bookMap;
|
||||
private static int numBookMoves = -1;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
import org.petero.droidfish.book.DroidBook.BookEntry;
|
||||
import org.petero.droidfish.gamelogic.Position;
|
||||
|
||||
public class NullBook implements IOpeningBook {
|
||||
class NullBook implements IOpeningBook {
|
||||
|
||||
@Override
|
||||
public boolean enabled() {
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.petero.droidfish.gamelogic.Move;
|
|||
import org.petero.droidfish.gamelogic.Piece;
|
||||
import org.petero.droidfish.gamelogic.Position;
|
||||
|
||||
public class PolyglotBook implements IOpeningBook {
|
||||
class PolyglotBook implements IOpeningBook {
|
||||
private File bookFile;
|
||||
|
||||
PolyglotBook() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user