Change directory name to javadoc

Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
Chris Cromer 2019-09-21 20:43:37 -03:00
parent ca46991813
commit 5f3a2df8cf
4 changed files with 4 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/out/ /out/
/doc/ /javadoc/
/log/ /log/

View File

@ -5,7 +5,7 @@
<element id="module-output" name="Game" /> <element id="module-output" name="Game" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/json-simple-3.1.0.jar" path-in-jar="/" /> <element id="extracted-dir" path="$PROJECT_DIR$/lib/json-simple-3.1.0.jar" path-in-jar="/" />
<element id="directory" name="javadoc"> <element id="directory" name="javadoc">
<element id="dir-copy" path="$PROJECT_DIR$/doc" /> <element id="dir-copy" path="$PROJECT_DIR$/javadoc" />
</element> </element>
</root> </root>
</artifact> </artifact>

View File

@ -3,6 +3,7 @@
<component name="JavadocGenerationManager"> <component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" value="$PROJECT_DIR$/doc" /> <option name="OUTPUT_DIRECTORY" value="$PROJECT_DIR$/doc" />
<option name="OPTION_SCOPE" value="private" /> <option name="OPTION_SCOPE" value="private" />
<option name="OPEN_IN_BROWSER" value="false" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11 OpenJDK" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11 OpenJDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />

View File

@ -27,10 +27,6 @@ import java.util.logging.Logger;
* This class handles loading the images and subimages * This class handles loading the images and subimages
*/ */
public class Sheet implements Constantes { public class Sheet implements Constantes {
/**
* The logger
*/
Logger logger;
/** /**
* A list of all the tile in the collection * 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) { public Sheet(String path, int height, int width) {
images = new ArrayList<>(); images = new ArrayList<>();
logger = getLogger(this.getClass(), IMAGE_LOG_LEVEL); Logger logger = getLogger(this.getClass(), IMAGE_LOG_LEVEL);
try { try {
BufferedImage image = ImageIO.read(getClass().getResourceAsStream(path)); BufferedImage image = ImageIO.read(getClass().getResourceAsStream(path));