Change package name to azaraka

Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
Chris Cromer 2019-09-28 20:31:20 -03:00
parent 3a8fe487ea
commit cc42ae71d2
31 changed files with 109 additions and 98 deletions

View File

@ -1,7 +1,7 @@
<component name="ArtifactManager">
<artifact type="jar" name="Game:jar">
<output-path>$PROJECT_DIR$/out/artifacts/Game_jar</output-path>
<root id="archive" name="Game.jar">
<artifact type="jar" name="Azaraka:jar">
<output-path>$PROJECT_DIR$/out/artifacts/Azaraka_jar</output-path>
<root id="archive" name="Azaraka.jar">
<element id="module-output" name="Game" />
<element id="directory" name="javadoc">
<element id="dir-copy" path="$PROJECT_DIR$/javadoc" />

View File

@ -1,3 +1,11 @@
Manifest-Version: 1.0
Main-Class: cl.cromer.game.Main
Main-Class: cl.cromer.azaraka.Main
Name: cl/cromer/game/
Specification-Title: La Aventura de Azaraka
Specification-Version: 1.0
Specification-Vendor: Chris Cromer
Implementation-Title: cl.cromer.azaraka
Implementation-Version: build1
Implementation-Vendor: Chris Cromer
Name: cl/cromer/game/
Sealed: true

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import cl.cromer.game.sprite.Animation;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.sprite.Animation;
import cl.cromer.azaraka.sprite.AnimationException;
import javax.swing.*;
import java.awt.*;

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import cl.cromer.game.logging.HtmlFormatter;
import cl.cromer.azaraka.logging.HtmlFormatter;
import java.awt.*;
import java.io.File;

View File

@ -13,16 +13,16 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import cl.cromer.game.json.Cell;
import cl.cromer.game.json.Json;
import cl.cromer.game.sound.Sound;
import cl.cromer.game.sound.SoundException;
import cl.cromer.game.sprite.Animation;
import cl.cromer.game.sprite.AnimationMap;
import cl.cromer.game.sprite.Sheet;
import cl.cromer.game.sprite.SheetException;
import cl.cromer.azaraka.json.Cell;
import cl.cromer.azaraka.json.Json;
import cl.cromer.azaraka.sound.Sound;
import cl.cromer.azaraka.sound.SoundException;
import cl.cromer.azaraka.sprite.Animation;
import cl.cromer.azaraka.sprite.AnimationMap;
import cl.cromer.azaraka.sprite.Sheet;
import cl.cromer.azaraka.sprite.SheetException;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@ -626,6 +626,7 @@ public class Escenario extends JComponent implements Constantes {
/**
* Override the paintComponent method of JComponent to paint the scene
*
* @param g The graphics object to paint
*/
@Override
@ -635,6 +636,7 @@ public class Escenario extends JComponent implements Constantes {
/**
* Override the update method of JComponent to do double buffering
*
* @param g The graphics object
*/
@Override
@ -648,6 +650,7 @@ public class Escenario extends JComponent implements Constantes {
/**
* Get the player cell
*
* @return Returns a cell that contains the player
*/
public Celda getPlayer() {

View File

@ -13,14 +13,14 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import cl.cromer.game.object.Object;
import cl.cromer.game.object.*;
import cl.cromer.game.sound.Sound;
import cl.cromer.game.sound.SoundException;
import cl.cromer.game.sprite.Animation;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.object.Object;
import cl.cromer.azaraka.object.*;
import cl.cromer.azaraka.sound.Sound;
import cl.cromer.azaraka.sound.SoundException;
import cl.cromer.azaraka.sprite.Animation;
import cl.cromer.azaraka.sprite.AnimationException;
import javax.sound.sampled.Clip;
import java.awt.*;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import javax.swing.*;
import java.util.logging.Logger;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
/**
* This class is used to save locations of random cells for enemies, obstacles, chests, etc

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game;
package cl.cromer.azaraka;
import cl.cromer.game.panel.Config;
import cl.cromer.game.panel.Game;
import cl.cromer.azaraka.panel.Config;
import cl.cromer.azaraka.panel.Game;
import javax.imageio.ImageIO;
import javax.swing.*;

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.json;
package cl.cromer.azaraka.json;
import cl.cromer.game.Celda;
import cl.cromer.azaraka.Celda;
import java.util.ArrayList;

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game.json;
package cl.cromer.azaraka.json;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game.logging;
package cl.cromer.azaraka.logging;
import java.text.SimpleDateFormat;
import java.util.Date;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game.logging;
package cl.cromer.azaraka.logging;
import java.util.HashMap;

View File

@ -13,12 +13,12 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.game.Escenario;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.sprite.AnimationException;
import java.util.logging.Logger;

View File

@ -13,15 +13,15 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.game.Escenario;
import cl.cromer.game.sound.Sound;
import cl.cromer.game.sprite.Animation;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.game.sprite.SheetException;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.sound.Sound;
import cl.cromer.azaraka.sprite.Animation;
import cl.cromer.azaraka.sprite.AnimationException;
import cl.cromer.azaraka.sprite.SheetException;
import java.util.concurrent.locks.Lock;
import java.util.logging.Logger;

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Escenario;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Escenario;
/**
* This class contains the gem

View File

@ -13,12 +13,12 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.game.Escenario;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.sprite.AnimationException;
import java.util.logging.Logger;

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Escenario;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Escenario;
/**
* All game objects extend this class

View File

@ -13,14 +13,14 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.game.Escenario;
import cl.cromer.game.sound.Sound;
import cl.cromer.game.sprite.Animation;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.sound.Sound;
import cl.cromer.azaraka.sprite.Animation;
import cl.cromer.azaraka.sprite.AnimationException;
import java.awt.event.KeyEvent;
import java.util.ArrayList;

View File

@ -13,12 +13,12 @@
*
*/
package cl.cromer.game.object;
package cl.cromer.azaraka.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Constantes;
import cl.cromer.game.Escenario;
import cl.cromer.game.sprite.AnimationException;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.sprite.AnimationException;
import java.util.logging.Logger;

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.panel;
package cl.cromer.azaraka.panel;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Constantes;
import javax.swing.*;
import javax.swing.event.ChangeEvent;

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game.panel;
package cl.cromer.azaraka.panel;
import cl.cromer.game.Constantes;
import cl.cromer.game.Lienzo;
import cl.cromer.azaraka.Constantes;
import cl.cromer.azaraka.Lienzo;
import javax.swing.*;
import java.awt.*;

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.sound;
package cl.cromer.azaraka.sound;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Constantes;
import javax.sound.sampled.*;
import java.io.BufferedInputStream;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game.sound;
package cl.cromer.azaraka.sound;
/**
* This exception is thrown when there are problems with a sound

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.sprite;
package cl.cromer.azaraka.sprite;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Constantes;
import javax.imageio.ImageIO;
import java.awt.*;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game.sprite;
package cl.cromer.azaraka.sprite;
/**
* This exception is thrown when there are problems with a sprite

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.sprite;
package cl.cromer.azaraka.sprite;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Constantes;
import java.util.HashMap;
import java.util.logging.Logger;

View File

@ -13,9 +13,9 @@
*
*/
package cl.cromer.game.sprite;
package cl.cromer.azaraka.sprite;
import cl.cromer.game.Constantes;
import cl.cromer.azaraka.Constantes;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;

View File

@ -13,7 +13,7 @@
*
*/
package cl.cromer.game.sprite;
package cl.cromer.azaraka.sprite;
/**
* This exception is thrown when there are problems with a sprite

View File

@ -13,10 +13,10 @@
*
*/
package cl.cromer.game.test;
package cl.cromer.azaraka.test;
import cl.cromer.game.Celda;
import cl.cromer.game.RandomPositionList;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.RandomPositionList;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

View File

@ -13,12 +13,12 @@
*
*/
package cl.cromer.game.test.object;
package cl.cromer.azaraka.test.object;
import cl.cromer.game.Celda;
import cl.cromer.game.Escenario;
import cl.cromer.game.Lienzo;
import cl.cromer.game.object.Player;
import cl.cromer.azaraka.Celda;
import cl.cromer.azaraka.Escenario;
import cl.cromer.azaraka.Lienzo;
import cl.cromer.azaraka.object.Player;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;