java.lang.Object
cz.cvut.fel.pjv.Utils.Utilities
public class Utilities
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Utilities() -
Method Summary
Modifier and Type Method Description static GameloadChessboard(java.lang.String filepath)Method for load game.static voidsaveChessboard(Game game, java.lang.String filepath)Save game into the binary file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
saveChessboard
Save game into the binary file.- Parameters:
game-filepath-
-
loadChessboard
Method for load game.- Parameters:
filepath- location of binary file.- Returns:
-