Created io package, moved IO-related classes

This commit is contained in:
Kai S. K. Engelbart 2019-10-20 17:27:52 +02:00
parent 0148fbe570
commit 1ed43dd180
6 changed files with 8 additions and 4 deletions

View File

@ -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;
/** /**

View File

@ -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;

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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;