Change package name to azaraka
Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
parent
3a8fe487ea
commit
cc42ae71d2
@ -1,7 +1,7 @@
|
|||||||
<component name="ArtifactManager">
|
<component name="ArtifactManager">
|
||||||
<artifact type="jar" name="Game:jar">
|
<artifact type="jar" name="Azaraka:jar">
|
||||||
<output-path>$PROJECT_DIR$/out/artifacts/Game_jar</output-path>
|
<output-path>$PROJECT_DIR$/out/artifacts/Azaraka_jar</output-path>
|
||||||
<root id="archive" name="Game.jar">
|
<root id="archive" name="Azaraka.jar">
|
||||||
<element id="module-output" name="Game" />
|
<element id="module-output" name="Game" />
|
||||||
<element id="directory" name="javadoc">
|
<element id="directory" name="javadoc">
|
||||||
<element id="dir-copy" path="$PROJECT_DIR$/javadoc" />
|
<element id="dir-copy" path="$PROJECT_DIR$/javadoc" />
|
@ -1,3 +1,11 @@
|
|||||||
Manifest-Version: 1.0
|
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
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game;
|
package cl.cromer.azaraka;
|
||||||
|
|
||||||
import cl.cromer.game.sprite.Animation;
|
import cl.cromer.azaraka.sprite.Animation;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
@ -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.awt.*;
|
||||||
import java.io.File;
|
import java.io.File;
|
@ -13,16 +13,16 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game;
|
package cl.cromer.azaraka;
|
||||||
|
|
||||||
import cl.cromer.game.json.Cell;
|
import cl.cromer.azaraka.json.Cell;
|
||||||
import cl.cromer.game.json.Json;
|
import cl.cromer.azaraka.json.Json;
|
||||||
import cl.cromer.game.sound.Sound;
|
import cl.cromer.azaraka.sound.Sound;
|
||||||
import cl.cromer.game.sound.SoundException;
|
import cl.cromer.azaraka.sound.SoundException;
|
||||||
import cl.cromer.game.sprite.Animation;
|
import cl.cromer.azaraka.sprite.Animation;
|
||||||
import cl.cromer.game.sprite.AnimationMap;
|
import cl.cromer.azaraka.sprite.AnimationMap;
|
||||||
import cl.cromer.game.sprite.Sheet;
|
import cl.cromer.azaraka.sprite.Sheet;
|
||||||
import cl.cromer.game.sprite.SheetException;
|
import cl.cromer.azaraka.sprite.SheetException;
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.google.gson.GsonBuilder;
|
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
|
* Override the paintComponent method of JComponent to paint the scene
|
||||||
|
*
|
||||||
* @param g The graphics object to paint
|
* @param g The graphics object to paint
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@ -635,6 +636,7 @@ public class Escenario extends JComponent implements Constantes {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the update method of JComponent to do double buffering
|
* Override the update method of JComponent to do double buffering
|
||||||
|
*
|
||||||
* @param g The graphics object
|
* @param g The graphics object
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
@ -648,6 +650,7 @@ public class Escenario extends JComponent implements Constantes {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the player cell
|
* Get the player cell
|
||||||
|
*
|
||||||
* @return Returns a cell that contains the player
|
* @return Returns a cell that contains the player
|
||||||
*/
|
*/
|
||||||
public Celda getPlayer() {
|
public Celda getPlayer() {
|
@ -13,14 +13,14 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game;
|
package cl.cromer.azaraka;
|
||||||
|
|
||||||
import cl.cromer.game.object.Object;
|
import cl.cromer.azaraka.object.Object;
|
||||||
import cl.cromer.game.object.*;
|
import cl.cromer.azaraka.object.*;
|
||||||
import cl.cromer.game.sound.Sound;
|
import cl.cromer.azaraka.sound.Sound;
|
||||||
import cl.cromer.game.sound.SoundException;
|
import cl.cromer.azaraka.sound.SoundException;
|
||||||
import cl.cromer.game.sprite.Animation;
|
import cl.cromer.azaraka.sprite.Animation;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import javax.sound.sampled.Clip;
|
import javax.sound.sampled.Clip;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game;
|
package cl.cromer.azaraka;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
@ -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
|
* This class is used to save locations of random cells for enemies, obstacles, chests, etc
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game;
|
package cl.cromer.azaraka;
|
||||||
|
|
||||||
import cl.cromer.game.panel.Config;
|
import cl.cromer.azaraka.panel.Config;
|
||||||
import cl.cromer.game.panel.Game;
|
import cl.cromer.azaraka.panel.Game;
|
||||||
|
|
||||||
import javax.imageio.ImageIO;
|
import javax.imageio.ImageIO;
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
@ -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;
|
import java.util.ArrayList;
|
||||||
|
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.json;
|
package cl.cromer.azaraka.json;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.google.gson.GsonBuilder;
|
import com.google.gson.GsonBuilder;
|
||||||
|
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.logging;
|
package cl.cromer.azaraka.logging;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.logging;
|
package cl.cromer.azaraka.logging;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
@ -13,12 +13,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
@ -13,15 +13,15 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.sound.Sound;
|
import cl.cromer.azaraka.sound.Sound;
|
||||||
import cl.cromer.game.sprite.Animation;
|
import cl.cromer.azaraka.sprite.Animation;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
import cl.cromer.game.sprite.SheetException;
|
import cl.cromer.azaraka.sprite.SheetException;
|
||||||
|
|
||||||
import java.util.concurrent.locks.Lock;
|
import java.util.concurrent.locks.Lock;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class contains the gem
|
* This class contains the gem
|
@ -13,12 +13,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All game objects extend this class
|
* All game objects extend this class
|
@ -13,14 +13,14 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.sound.Sound;
|
import cl.cromer.azaraka.sound.Sound;
|
||||||
import cl.cromer.game.sprite.Animation;
|
import cl.cromer.azaraka.sprite.Animation;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import java.awt.event.KeyEvent;
|
import java.awt.event.KeyEvent;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@ -13,12 +13,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.object;
|
package cl.cromer.azaraka.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.sprite.AnimationException;
|
import cl.cromer.azaraka.sprite.AnimationException;
|
||||||
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
@ -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.*;
|
||||||
import javax.swing.event.ChangeEvent;
|
import javax.swing.event.ChangeEvent;
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.panel;
|
package cl.cromer.azaraka.panel;
|
||||||
|
|
||||||
import cl.cromer.game.Constantes;
|
import cl.cromer.azaraka.Constantes;
|
||||||
import cl.cromer.game.Lienzo;
|
import cl.cromer.azaraka.Lienzo;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
@ -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 javax.sound.sampled.*;
|
||||||
import java.io.BufferedInputStream;
|
import java.io.BufferedInputStream;
|
@ -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
|
* This exception is thrown when there are problems with a sound
|
@ -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 javax.imageio.ImageIO;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
@ -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
|
* This exception is thrown when there are problems with a sprite
|
@ -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.HashMap;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
@ -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 javax.imageio.ImageIO;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
@ -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
|
* This exception is thrown when there are problems with a sprite
|
@ -13,10 +13,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.test;
|
package cl.cromer.azaraka.test;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.RandomPositionList;
|
import cl.cromer.azaraka.RandomPositionList;
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
@ -13,12 +13,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package cl.cromer.game.test.object;
|
package cl.cromer.azaraka.test.object;
|
||||||
|
|
||||||
import cl.cromer.game.Celda;
|
import cl.cromer.azaraka.Celda;
|
||||||
import cl.cromer.game.Escenario;
|
import cl.cromer.azaraka.Escenario;
|
||||||
import cl.cromer.game.Lienzo;
|
import cl.cromer.azaraka.Lienzo;
|
||||||
import cl.cromer.game.object.Player;
|
import cl.cromer.azaraka.object.Player;
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
Loading…
Reference in New Issue
Block a user