Refined IO functionality, fixed FEN string serialization and deserialization #7

Merged
CyB3RC0nN0R merged 7 commits from feature/io into master 2019-10-25 17:01:56 +02:00
6 changed files with 8 additions and 4 deletions
Showing only changes of commit 1ed43dd180 - Show all commits

View File

@ -12,10 +12,10 @@ import dev.kske.chess.board.Piece.Color;
import dev.kske.chess.event.EventBus;
import dev.kske.chess.event.MoveEvent;
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.BoardPane;
import dev.kske.chess.ui.EngineUtil;
import dev.kske.chess.ui.EngineUtil.EngineInfo;
import dev.kske.chess.ui.OverlayComponent;
/**

View File

@ -1,4 +1,4 @@
package dev.kske.chess.ui;
package dev.kske.chess.io;
import java.io.FileInputStream;
import java.io.FileOutputStream;

View File

@ -1,4 +1,4 @@
package dev.kske.chess.ui;
package dev.kske.chess.io;
import java.awt.Image;
import java.awt.image.BufferedImage;

View File

@ -6,6 +6,7 @@ import java.awt.Graphics;
import javax.swing.JComponent;
import dev.kske.chess.board.Board;
import dev.kske.chess.io.TextureUtil;
/**
* Project: <strong>Chess</strong><br>

View File

@ -16,6 +16,8 @@ import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import dev.kske.chess.io.EngineUtil;
/**
* Project: <strong>Chess</strong><br>
* File: <strong>DialogUtil.java</strong><br>

View File

@ -14,6 +14,7 @@ import javax.swing.JOptionPane;
import dev.kske.chess.board.Board;
import dev.kske.chess.game.Game;
import dev.kske.chess.io.EngineUtil;
import dev.kske.chess.pgn.PGNDatabase;
import dev.kske.chess.pgn.PGNGame;