git.hedgecode.org
/
chesshog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[LIB-9] Set of entities for PGN parsing and formatting
[chesshog.git]
/
chesshog-format
/
src
/
main
/
java
/
org
/
hedgecode
/
chess
/
pgn
/
entity
/
Game.java
diff --git
a/chesshog-format/src/main/java/org/hedgecode/chess/img/ImageBuilder.java
b/chesshog-format/src/main/java/org/hedgecode/chess/pgn/entity/Game.java
similarity index 60%
rename from
chesshog-format/src/main/java/org/hedgecode/chess/img/ImageBuilder.java
rename to
chesshog-format/src/main/java/org/hedgecode/chess/pgn/entity/Game.java
index
fd79aa0
..
59814c1
100644
(file)
--- a/
chesshog-format/src/main/java/org/hedgecode/chess/img/ImageBuilder.java
+++ b/
chesshog-format/src/main/java/org/hedgecode/chess/pgn/entity/Game.java
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2018. Developed by Hedgecode.
+ * Copyright (c) 2018
-2020
. Developed by Hedgecode.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-14,22
+14,21
@@
* limitations under the License.
*/
* limitations under the License.
*/
-package org.hedgecode.chess.
img
;
+package org.hedgecode.chess.
pgn.entity
;
-import java.awt.image.RenderedImage;
-
-import org.hedgecode.chess.position.Builder;
-import org.hedgecode.chess.position.Position;
+import java.util.Map;
/**
/**
- *
+ *
Game
*
* @author Dmitry Samoshin aka gotty
*/
*
* @author Dmitry Samoshin aka gotty
*/
-public interface ImageBuilder extends Builder {
+public interface Game extends Moves {
+
+ void addTag(String name, String value);
- String
build(Position position
);
+ String
getTag(String name
);
-
RenderedImage build(Position position, String boardType, String pieceType) throws ImageException
;
+
Map<String, String> getTags()
;
}
}