[LIB-9] Add functional for transcoding vector images
[chesshog.git] / chesshog-graphics / src / main / java / org / hedgecode / chess / img / piece / PieceSet.java
index 342ba1a..58faf41 100644 (file)
@@ -27,7 +27,7 @@ import org.hedgecode.chess.position.ColorPiece;
 import org.hedgecode.chess.position.Piece;
 
 /**
- *
+ * Storage class for set of images of chess pieces.
  *
  * @author Dmitry Samoshin aka gotty
  */
@@ -37,7 +37,7 @@ public class PieceSet {
 
     private static String[] allPieceNames;
 
-    PieceSet() {
+    private PieceSet() {
     }
 
     public void add(String name, BufferedImage image) {
@@ -65,7 +65,7 @@ public class PieceSet {
         return pieceSetMap.get(colorPiece);
     }
 
-    public boolean isFull() {
+    public boolean isFilled() {
         for (ColorPiece colorPiece : ColorPiece.values()) {
             if (!pieceSetMap.containsKey(colorPiece)
                     || (pieceSetMap.get(colorPiece) == null)) {