diff --git a/.gitignore b/.gitignore index def8afa..1434127 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /out/ -/doc/ +/javadoc/ /log/ \ No newline at end of file diff --git a/.idea/artifacts/Game_jar.xml b/.idea/artifacts/Game_jar.xml index 8f96dfe..88db54b 100644 --- a/.idea/artifacts/Game_jar.xml +++ b/.idea/artifacts/Game_jar.xml @@ -5,7 +5,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml index 769d20e..0c0f053 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,6 +3,7 @@ diff --git a/src/cl/cromer/game/sprite/Sheet.java b/src/cl/cromer/game/sprite/Sheet.java index 8b927b2..43c2a39 100644 --- a/src/cl/cromer/game/sprite/Sheet.java +++ b/src/cl/cromer/game/sprite/Sheet.java @@ -27,10 +27,6 @@ import java.util.logging.Logger; * This class handles loading the images and subimages */ public class Sheet implements Constantes { - /** - * The logger - */ - Logger logger; /** * A list of all the tile in the collection */ @@ -43,7 +39,7 @@ public class Sheet implements Constantes { */ public Sheet(String path, int height, int width) { images = new ArrayList<>(); - logger = getLogger(this.getClass(), IMAGE_LOG_LEVEL); + Logger logger = getLogger(this.getClass(), IMAGE_LOG_LEVEL); try { BufferedImage image = ImageIO.read(getClass().getResourceAsStream(path));