Refined IO functionality, fixed FEN string serialization and deserialization #7
@ -12,10 +12,10 @@ import dev.kske.chess.board.Piece.Color;
|
|||||||
import dev.kske.chess.event.EventBus;
|
import dev.kske.chess.event.EventBus;
|
||||||
import dev.kske.chess.event.MoveEvent;
|
import dev.kske.chess.event.MoveEvent;
|
||||||
import dev.kske.chess.game.ai.AIPlayer;
|
import dev.kske.chess.game.ai.AIPlayer;
|
||||||
|
import dev.kske.chess.io.EngineUtil;
|
||||||
|
import dev.kske.chess.io.EngineUtil.EngineInfo;
|
||||||
import dev.kske.chess.ui.BoardComponent;
|
import dev.kske.chess.ui.BoardComponent;
|
||||||
import dev.kske.chess.ui.BoardPane;
|
import dev.kske.chess.ui.BoardPane;
|
||||||
import dev.kske.chess.ui.EngineUtil;
|
|
||||||
import dev.kske.chess.ui.EngineUtil.EngineInfo;
|
|
||||||
import dev.kske.chess.ui.OverlayComponent;
|
import dev.kske.chess.ui.OverlayComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package dev.kske.chess.ui;
|
package dev.kske.chess.io;
|
||||||
|
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
@ -1,4 +1,4 @@
|
|||||||
package dev.kske.chess.ui;
|
package dev.kske.chess.io;
|
||||||
|
|
||||||
import java.awt.Image;
|
import java.awt.Image;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
@ -6,6 +6,7 @@ import java.awt.Graphics;
|
|||||||
import javax.swing.JComponent;
|
import javax.swing.JComponent;
|
||||||
|
|
||||||
import dev.kske.chess.board.Board;
|
import dev.kske.chess.board.Board;
|
||||||
|
import dev.kske.chess.io.TextureUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Project: <strong>Chess</strong><br>
|
* Project: <strong>Chess</strong><br>
|
||||||
|
@ -16,6 +16,8 @@ import javax.swing.JLabel;
|
|||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
|
import dev.kske.chess.io.EngineUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Project: <strong>Chess</strong><br>
|
* Project: <strong>Chess</strong><br>
|
||||||
* File: <strong>DialogUtil.java</strong><br>
|
* File: <strong>DialogUtil.java</strong><br>
|
||||||
|
@ -14,6 +14,7 @@ import javax.swing.JOptionPane;
|
|||||||
|
|
||||||
import dev.kske.chess.board.Board;
|
import dev.kske.chess.board.Board;
|
||||||
import dev.kske.chess.game.Game;
|
import dev.kske.chess.game.Game;
|
||||||
|
import dev.kske.chess.io.EngineUtil;
|
||||||
import dev.kske.chess.pgn.PGNDatabase;
|
import dev.kske.chess.pgn.PGNDatabase;
|
||||||
import dev.kske.chess.pgn.PGNGame;
|
import dev.kske.chess.pgn.PGNGame;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user