diff --git a/Bomberman/doc/allclasses-frame.html b/Bomberman/doc/allclasses-frame.html index 3c0699a..08d23a5 100644 --- a/Bomberman/doc/allclasses-frame.html +++ b/Bomberman/doc/allclasses-frame.html @@ -2,9 +2,9 @@
- +public static final String
public static final java.lang.String
SAVE
"savefile.sav"
private static final String
private static final java.lang.String
KEYMAPPER_FILE
"keymap.ini"
private static final String
private static final java.lang.String
KM_SECTION
"default"
private static final int
public static final int
fixpos
5
public static final String
public static final java.lang.String
TITLE
"Super Bomberman"
public static final String
public static final java.lang.String
MAP_FILE
"iniFiles/maps.ini"
public static final String
public static final java.lang.String
MENU_FILE
"iniFiles/menus.ini"
public static final String
public static final java.lang.String
SPRITE_FILE
"iniFiles/sprites.ini"
private static final String
private static final java.lang.String
AUDIO
"audio/"
public static final String
public static final java.lang.String
BATTLE_MUSIC
"audio/music/battle.ogg"
public static final String
public static final java.lang.String
CREDITS_MUSIC
"audio/music/credits.ogg"
public static final String
public static final java.lang.String
DEFEAT_MUSIC
"audio/music/defeat.ogg"
public static final String
public static final java.lang.String
EXPLOSION_SND
"audio/sound/explosion.ogg"
public static final String
public static final java.lang.String
GAMEOVER_MUSIC
"audio/music/gameOver.ogg"
public static final String
public static final java.lang.String
INTRO_MUSIC
"audio/music/introStage.ogg"
public static final String
public static final java.lang.String
MENU_MUSIC
"audio/music/menus.ogg"
private static final String
private static final java.lang.String
MUSIC
"audio/music/"
public static final String
public static final java.lang.String
PAUSE_MUSIC
"audio/music/pause.ogg"
public static final String
public static final java.lang.String
POWERUP_SND
"audio/sound/powerup.ogg"
public static final String
public static final java.lang.String
PUTBOMB_SND
"audio/sound/putBomb2.ogg"
public static final String
public static final java.lang.String
SELECT_SND
"audio/sound/select.ogg"
private static final String
private static final java.lang.String
SOUND
"audio/sound/"
public static final String
public static final java.lang.String
VICTORY_MUSIC
"audio/music/victoryStage.ogg"
private static final String
private static final java.lang.String
FILE
"file"
private static final String
private static final java.lang.String
JAR
"jar"
private static final String
private static final java.lang.String
RSRC
"rsrc"
public class SuperBomberman3D
+extends com.badlogic.gdx.ApplicationAdapter
+implements com.badlogic.gdx.ApplicationListener
+Modifier and Type | +Field and Description | +
---|---|
com.badlogic.gdx.graphics.g3d.Model |
+bombermanModel |
+
com.badlogic.gdx.graphics.g3d.Model |
+bombModel |
+
com.badlogic.gdx.graphics.g3d.Model |
+boxModel |
+
java.lang.Thread |
+calcs |
+
com.badlogic.gdx.graphics.PerspectiveCamera |
+cam |
+
com.badlogic.gdx.graphics.g3d.utils.CameraInputController |
+camController |
+
com.badlogic.gdx.graphics.g3d.Model |
+destroyableModel |
+
com.badlogic.gdx.graphics.g3d.Model |
+enemyModel |
+
com.badlogic.gdx.graphics.g3d.Environment |
+env |
+
com.badlogic.gdx.graphics.g3d.Model |
+explosionModel |
+
private float |
+far |
+
private int |
+FIELD_OF_VIEW |
+
private int |
+height |
+
private com.badlogic.gdx.math.Vector3 |
+initialPosition |
+
com.badlogic.gdx.graphics.g3d.Model |
+itemModel |
+
com.badlogic.gdx.graphics.g3d.ModelBatch |
+modelBatch |
+
private float |
+near |
+
java.util.Map<Objeto,com.badlogic.gdx.graphics.g3d.ModelInstance> |
+objetos |
+
private com.badlogic.gdx.math.Vector3 |
+origin |
+
com.badlogic.gdx.graphics.g3d.ModelInstance |
+plane |
+
com.badlogic.gdx.graphics.g3d.Model |
+planeModel |
+
Game |
+room |
+
private int |
+width |
+
private int |
+xEndPlane |
+
private int |
+xInitPlane |
+
private int |
+zEndPlane |
+
private int |
+zInitPlane |
+
Constructor and Description | +
---|
SuperBomberman3D(Game game) |
+
Modifier and Type | +Method and Description | +
---|---|
private void |
+camera()
+Initializes the camera
+ |
+
void |
+create() |
+
void |
+dispose() |
+
private void |
+environment()
+Initializes the environment
+ |
+
private void |
+init()
+Initializes some variables
+ |
+
static com.badlogic.gdx.backends.lwjgl.LwjglApplication |
+main(Game game) |
+
private void |
+models()
+Initializes the 3D models and instances them
+ |
+
void |
+render() |
+
void |
+step()
+Updates objects' positions, destroy the objects that needs to be
+ destroyed and creates the new ones
+ |
+
pause, resize, resume
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
pause, resize, resume
public com.badlogic.gdx.graphics.PerspectiveCamera cam+
public com.badlogic.gdx.graphics.g3d.utils.CameraInputController camController+
public java.lang.Thread calcs+
public com.badlogic.gdx.graphics.g3d.Model bombermanModel+
public com.badlogic.gdx.graphics.g3d.Model enemyModel+
public com.badlogic.gdx.graphics.g3d.Model boxModel+
public com.badlogic.gdx.graphics.g3d.Model destroyableModel+
public com.badlogic.gdx.graphics.g3d.Model itemModel+
public com.badlogic.gdx.graphics.g3d.Model bombModel+
public com.badlogic.gdx.graphics.g3d.Model explosionModel+
public com.badlogic.gdx.graphics.g3d.Model planeModel+
public com.badlogic.gdx.graphics.g3d.Environment env+
public com.badlogic.gdx.graphics.g3d.ModelBatch modelBatch+
private int FIELD_OF_VIEW+
private com.badlogic.gdx.math.Vector3 initialPosition+
private com.badlogic.gdx.math.Vector3 origin+
private float near+
private float far+
private int width+
private int height+
public Game room+
private int xInitPlane+
private int zInitPlane+
private int xEndPlane+
private int zEndPlane+
public java.util.Map<Objeto,com.badlogic.gdx.graphics.g3d.ModelInstance> objetos+
public com.badlogic.gdx.graphics.g3d.ModelInstance plane+
public SuperBomberman3D(Game game)+
game
- 2DGame roompublic static com.badlogic.gdx.backends.lwjgl.LwjglApplication main(Game game)+
game
- 2DGame roompublic void create()+
create
in interface com.badlogic.gdx.ApplicationListener
create
in class com.badlogic.gdx.ApplicationAdapter
private void init()+
private void camera()+
private void models()+
private void environment()+
public void render()+
render
in interface com.badlogic.gdx.ApplicationListener
render
in class com.badlogic.gdx.ApplicationAdapter
public void step()+
public void dispose()+
dispose
in interface com.badlogic.gdx.ApplicationListener
dispose
in class com.badlogic.gdx.ApplicationAdapter
Package | +Description | +
---|---|
graphics.rooms.game | ++ |
Modifier and Type | +Field and Description | +
---|---|
private SuperBomberman3D |
+Game.sb |
+
Class | +Description | +
---|---|
SuperBomberman3D | ++ |
Package | +Description | +
---|---|
graphics.rooms.game | ++ |
Class and Description | +
---|
SuperBomberman3D | +
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
+alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private Runnable function+
private java.lang.Runnable function
x
- x coordinatemyPintable
String
java.lang.String
originalText
static String
static java.lang.String
defaultTextes(int code)
void
setPintableText(String text)
setPintableText(java.lang.String text)
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
+alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
public String originalText+
public java.lang.String originalText
x
- x coordinatepublic void setPintableText(String text)+
public void setPintableText(java.lang.String text)
text
- text to paintpublic static String defaultTextes(int code)+
public static java.lang.String defaultTextes(int code)
code
- cod eto parsevoid
render(Graphics g)
+render(java.awt.Graphics g)
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void render(Graphics g)+
public void render(java.awt.Graphics g)
Objeto
checkAnimationEnd, collision, customCollision, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
animate, checkAnimationEnd, collision, customCollision, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
String
java.lang.String
key
PintableButton(int x,
int y,
Room r,
- String key)
void
render(Graphics g)
+render(java.awt.Graphics g)
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
+alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public String key+
public java.lang.String key
public PintableButton(int x, int y, Room r, - String key)+ java.lang.String key)
x
- x coordinatepublic void render(Graphics g)+
public void render(java.awt.Graphics g)
Objeto
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public class VolumeSlider -extends Object +extends java.lang.Object implements SliderHelper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public class Loader -extends Object -implements Runnable+extends java.lang.Object +implements java.lang.Runnable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void run()diff --git a/Bomberman/doc/graphics/rooms/LoaderRepository.html b/Bomberman/doc/graphics/rooms/LoaderRepository.html index 9331ffb..fca79ed 100644 --- a/Bomberman/doc/graphics/rooms/LoaderRepository.html +++ b/Bomberman/doc/graphics/rooms/LoaderRepository.html @@ -2,9 +2,9 @@ - +
public class LoaderRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract class Room -extends Object+extends java.lang.Object
height
protected Thread
protected java.lang.Thread
loader
music
String
java.lang.String
name
List<Objeto>
java.util.List<Objeto>
objetos
seconds
private Timer
private java.util.Timer
timerInit
Room(int w,
int h,
- String n)
abstract void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
abstract void
void
render(Graphics g)
+render(java.awt.Graphics g)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public String name+
public java.lang.String name
private Timer timerInit+
private java.util.Timer timerInit
protected Thread loader+
protected java.lang.Thread loader
public Room(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void render(Graphics g)+
public void render(java.awt.Graphics g)
public abstract void drawBackground(Graphics g)+
public abstract void drawBackground(java.awt.Graphics g)
ControlButton(int x,
@@ -170,7 +170,7 @@ Uses of Room r,
Sprite sprite,
Input.KEY myKey,
- Runnable run)
Fade(int x,
@@ -187,7 +187,7 @@ Uses of PintableButton(int x,
int y,
Room r,
- String key)
Visual(int x,
@@ -553,7 +553,7 @@ Uses of
-static List<Objeto>
+static java.util.List<Objeto>
Map.generateMap(Room room)
Generates a random map from various templates
@@ -563,13 +563,13 @@ Uses of Map.generateRandomObject(int row,
int col,
Room room,
- List<Character> list)
+ java.util.List<java.lang.Character> list)
static List<Objeto>
getMap(String file,
+static java.util.List<Objeto>
+Map.getMap(java.lang.String file,
Room room)
Creates a map from a file
diff --git a/Bomberman/doc/graphics/rooms/controlsMenu/Controls.html b/Bomberman/doc/graphics/rooms/controlsMenu/Controls.html
index 91490c0..d996cfd 100644
--- a/Bomberman/doc/graphics/rooms/controlsMenu/Controls.html
+++ b/Bomberman/doc/graphics/rooms/controlsMenu/Controls.html
@@ -2,9 +2,9 @@
-
+
Controls
-
+
@@ -97,7 +97,7 @@ Class Controls
-- java.lang.Object
+- java.lang.Object
-
- graphics.rooms.Room
@@ -194,7 +194,7 @@ Constructor Summary
Controls(int w,
int h,
- String n)
+ java.lang.String n)
@@ -234,14 +234,14 @@ Method Summary
int x2,
int i2,
int j2,
- String text)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
private String
private java.lang.String
getKeyText(Input.KEY key)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -414,7 +414,7 @@ public Controls(int w, int h, - String n)+ java.lang.String n)
w
- widthx
- x coordinatepublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
private String getKeyText(Input.KEY key)+
private java.lang.String getKeyText(Input.KEY key)
public class ControlsRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Credits(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -262,7 +262,7 @@ public Credits(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public class CreditsRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static enum Game.STATE -extends Enum<Game.STATE>+
public static enum Game.STATE +extends java.lang.Enum<Game.STATE>
static Game.STATE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Game.STATE valueOf(String name)+
public static Game.STATE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprivate static class
static class
Game.STATE
intro
protected Level
Level
level
objective
private SuperBomberman3D
sb
private long
seconds
private long
SECONDS_PHASE
private long
secondsVictory
private boolean
startedLevel
private Game.STATE
Game.STATE
state
private TimerTask
private java.util.TimerTask
task
protected Sprite
tiles
private Timer
private java.util.Timer
timer
private Sprite
victory
private kuusisto.tinysound.Music
victoryMsc
private Visual
victoryVisual
Game(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
private void
drawHUD(Graphics g)
+drawHUD(java.awt.Graphics g)
void
render(Graphics g)
+render(java.awt.Graphics g)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private Game.STATE state+
public Game.STATE state
private Timer timer+
private java.util.Timer timer
private TimerTask task+
private java.util.TimerTask task
private boolean defeatedMusic
private SuperBomberman3D sb+
public Game(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public void render(Graphics g)+
public void render(java.awt.Graphics g)
Room
private void drawHUD(Graphics g)+
private void drawHUD(java.awt.Graphics g)
public class GameRepository -extends Object+extends java.lang.Object
edgeUpExplosion
static Map<String,Sprite>
static java.util.Map<java.lang.String,Sprite>
enemy
pickupSpeed
static Map<String,Sprite>
static java.util.Map<java.lang.String,Sprite>
player
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -434,7 +434,7 @@ public static Map<String,Sprite> player+
public static java.util.Map<java.lang.String,Sprite> player
private Game.STATE
Game.STATE
state
static Game.STATE
valueOf(String name)
+valueOf(java.lang.String name)
Modifier and Type | +Field and Description | +
---|---|
Game |
+SuperBomberman3D.room |
+
Modifier and Type | +Method and Description | +
---|---|
static com.badlogic.gdx.backends.lwjgl.LwjglApplication |
+SuperBomberman3D.main(Game game) |
+
Constructor and Description | +
---|
SuperBomberman3D(Game game) |
+
Class and Description | +
---|
Game | +
Intro(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -291,7 +291,7 @@ public Intro(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public class IntroRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
MainMenu(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -411,7 +411,7 @@ public MainMenu(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public class MainMenuRepository -extends Object+extends java.lang.Object
(package private) static Sprite
gameButton
d3gameButton
(package private) static Sprite
optionsButton
gameButton
(package private) static Sprite
quitButton
optionsButton
(package private) static Sprite
rankingButton
quitButton
(package private) static Sprite
rankingButton
(package private) static Sprite
titleButton
private static void
loadD3GameButton()
+private static void
loadGameButton()
private static void
loadOptionsButton()
private static void
loadQuitButton()
private static void
loadRankingButton()
private static void
loadTitleButton()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -300,6 +310,15 @@ static Sprite gameButton+ + + +
static Sprite d3gameButton+
private static void loadD3GameButton()+
OptionsMenu(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
private int
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -266,7 +266,7 @@ public OptionsMenu(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public class OptionsMenuRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
PauseMenu(int w,
int h,
- String n)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -365,7 +365,7 @@ public PauseMenu(int w, int h, - String n)+ java.lang.String n)
w
- widthpublic void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
private static enum PauseMenu.selection -extends Enum<PauseMenu.selection>+extends java.lang.Enum<PauseMenu.selection>
static PauseMenu.selection
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static PauseMenu.selection valueOf(String name)+
public static PauseMenu.selection valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class PauseMenuRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
static PauseMenu.selection
valueOf(String name)
+valueOf(java.lang.String name)
RankMenu(int w,
int h,
- String n,
+ java.lang.String n,
Record record)
void
drawBackground(Graphics g)
drawBackground(java.awt.Graphics g)
void
void
render(Graphics g)
+render(java.awt.Graphics g)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RankMenu(int w, int h, - String n, + java.lang.String n, Record record)
public void render(Graphics g)+
public void render(java.awt.Graphics g)
Room
public void drawBackground(Graphics g)+
public void drawBackground(java.awt.Graphics g)
drawBackground
in class Room
public class RankMenuRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public class Global -extends Object+extends java.lang.Object
ranking
static String
static java.lang.String
SAVE
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -267,7 +267,7 @@ public static final String SAVE+
public static final java.lang.String SAVE
static Input.KEY
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Input.KEY valueOf(String name)+
public static Input.KEY valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class Input -extends KeyAdapter+extends java.awt.event.KeyAdapter
void
keyPressed(KeyEvent e)
keyPressed(java.awt.event.KeyEvent e)
void
keyReleased(KeyEvent e)
keyReleased(java.awt.event.KeyEvent e)
void
keyTyped
keyTyped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void keyPressed(KeyEvent e)+
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface KeyListener
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class KeyAdapter
keyPressed
in class java.awt.event.KeyAdapter
public void keyReleased(KeyEvent e)+
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface KeyListener
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class KeyAdapter
keyReleased
in class java.awt.event.KeyAdapter
public class KeyMapper -extends Object+extends java.lang.Object
private static String
private static java.lang.String
KEYMAPPER_FILE
private static String
private static java.lang.String
KM_SECTION
private Map<Input.KEY,Integer>
private java.util.Map<Input.KEY,java.lang.Integer>
mapper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static final String KEYMAPPER_FILE+
private static final java.lang.String KEYMAPPER_FILE
private static final String KM_SECTION+
private static final java.lang.String KM_SECTION
public abstract class Objeto -extends Object+extends java.lang.Object
alarm
private List<Integer>
private java.util.List<java.lang.Integer>
alarmsOff
int
animate()
void
checkAnimationEnd()
List<Objeto>
java.util.List<Objeto>
collision()
void
create()
void
customCollision(Objeto colision)
void
customDestroy()
void
customStep(Input.KEY key,
Input.KEY direction)
void
destroy()
boolean
isAlarmSet(int alarmNo)
void
processKey(Input.KEY key,
Input.KEY direction)
void
render(Graphics g)
+render(java.awt.Graphics g)
void
resetAnimationEnd()
void
setAlarm(int alarmNo,
int steps)
void
step(Input.KEY key,
Input.KEY direction)
boolean
tryToMove(int modX,
int modY)
void
unsetAlarm(int alarmNo)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -476,7 +480,7 @@ public void render(Graphics g)+
public void render(java.awt.Graphics g)
public int animate()+
public List<Objeto> collision()+
public java.util.List<Objeto> collision()
public class Sprite -extends Object+extends java.lang.Object
subimages
private BufferedImage[]
private java.awt.image.BufferedImage[]
subsprites
Sprite(BufferedImage[] sheet,
+Sprite(java.awt.image.BufferedImage[] sheet,
int subImages,
int width,
int height)
Sprite(File sheet,
+Sprite(java.io.File sheet,
int sI,
int cX,
int cY,
@@ -186,7 +186,7 @@ Constructor Summary
int h)
Sprite(File sheet,
+Sprite(java.io.File sheet,
int sI,
int cX,
int cY,
@@ -226,7 +226,7 @@ Method Summary
getSubimages()
BufferedImage[]
java.awt.image.BufferedImage[]
getSubsprites()
void
setSubsprites(BufferedImage[] subsprites)
setSubsprites(java.awt.image.BufferedImage[] subsprites)
void
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -285,7 +285,7 @@ private BufferedImage[] subsprites+
private java.awt.image.BufferedImage[] subsprites
public Sprite(File sheet, +public Sprite(java.io.File sheet, int sI, int cX, int cY, @@ -370,7 +370,7 @@Sprite
public Sprite(File sheet, +public Sprite(java.io.File sheet, int sI, int cX, int cY, @@ -395,7 +395,7 @@Sprite
public Sprite(BufferedImage[] sheet, +public Sprite(java.awt.image.BufferedImage[] sheet, int subImages, int width, int height)@@ -422,7 +422,7 @@Method Detail
public BufferedImage[] getSubsprites()+
public java.awt.image.BufferedImage[] getSubsprites()
public void setSubsprites(BufferedImage[] subsprites)+
public void setSubsprites(java.awt.image.BufferedImage[] subsprites)
subsprites
- subimagespublic static enum StatesMachine.STATE -extends Enum<StatesMachine.STATE>+extends java.lang.Enum<StatesMachine.STATE>
GAME
INTRO
GAME3D
MAIN_MENU
INTRO
OPTIONS_MENU
MAIN_MENU
PAUSE
OPTIONS_MENU
RANKS
PAUSE
RANKS
TOP10
static StatesMachine.STATE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static final StatesMachine.STATE GAME+ + + +
public static final StatesMachine.STATE GAME3D+
public static StatesMachine.STATE valueOf(String name)+
public static StatesMachine.STATE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class StatesMachine -extends Object+extends java.lang.Object
credits
static com.badlogic.gdx.backends.lwjgl.LwjglApplication
game3D
private static Game
gameScreen
static Input
input
private static Intro
introScreen
private static OptionsMenu
optionScreen
private static PauseMenu
pauseScreen
private static RankMenu
rankScreen
private static StatesMachine.STATE
static StatesMachine.STATE
state
private static MainMenu
titleScreen
private static void
game3d(Input.KEY key,
+ Input.KEY direction)
+static void
goToRoom(StatesMachine.STATE st,
boolean persist)
static void
initStatesMachine(Input in)
private static void
intro(Input.KEY key,
Input.KEY direction)
private static void
main_menu(Input.KEY key,
Input.KEY direction)
private static void
options_menu(Input.KEY key,
Input.KEY direction)
private static void
pause(Input.KEY key,
Input.KEY direction)
private static void
persistent()
private static void
ranks(Input.KEY key,
Input.KEY direction)
static void
render(Graphics g)
+render(java.awt.Graphics g)
static void
stateMachine()
private static void
top10(Input.KEY key,
Input.KEY direction)
@@ -329,8 +340,8 @@ clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -352,7 +363,7 @@ private static StatesMachine.STATE state+
public static StatesMachine.STATE state
private static Controls controls
public static com.badlogic.gdx.backends.lwjgl.LwjglApplication game3D+
public static void render(Graphics g)+
public static void render(java.awt.Graphics g)
private static void game3d(Input.KEY key, + Input.KEY direction)+
key
- keydirection
- directionalarm, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkAnimationEnd, collision, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
animate, checkAnimationEnd, collision, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alarm, checkAnimationEnd, collision, create, customCollision, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
movActual
private Random
private java.util.Random
randomizer
(package private) Map<String,Sprite>
(package private) java.util.Map<java.lang.String,Sprite>
sprites
alarm, checkAnimationEnd, collision, customCollision, customDestroy, customStep, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, unsetAlarm
alarm, animate, checkAnimationEnd, collision, customCollision, customDestroy, customStep, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private Random randomizer+
private java.util.Random randomizer
alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static enum ExplosionPart.KIND -extends Enum<ExplosionPart.KIND>+extends java.lang.Enum<ExplosionPart.KIND>
static ExplosionPart.KIND
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static ExplosionPart.KIND valueOf(String name)+
public static ExplosionPart.KIND valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static enum ExplosionPart.SIDE -extends Enum<ExplosionPart.SIDE>+extends java.lang.Enum<ExplosionPart.SIDE>
static ExplosionPart.SIDE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static ExplosionPart.SIDE valueOf(String name)+
public static ExplosionPart.SIDE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullalarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
static Item.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Item.TYPE valueOf(String name)+
public static Item.TYPE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullalarm, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
modSwitch
private ArrayList<Objeto>
ownBombs
com.badlogic.gdx.graphics.g3d.ModelInstance
obj
private java.util.ArrayList<Objeto>
ownBombs
private double
speed
private Map<String,Sprite>
private java.util.Map<java.lang.String,Sprite>
sprites
int
checkPlayerCollisions(List<Objeto> toCheck,
- List<Objeto> finalCollision)
checkPlayerCollisions(java.util.List<Objeto> toCheck,
+ java.util.List<Objeto> finalCollision)
void
checkAnimationEnd, collision, customCollision, customDestroy, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, unsetAlarm
+animate, checkAnimationEnd, collision, customCollision, customDestroy, destroy, isAlarmSet, render, resetAnimationEnd, setAlarm, step, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public com.badlogic.gdx.graphics.g3d.ModelInstance obj
public int checkPlayerCollisions(List<Objeto> toCheck, - List<Objeto> finalCollision)+
public int checkPlayerCollisions(java.util.List<Objeto> toCheck, + java.util.List<Objeto> finalCollision)
toCheck
- objects to check collision withalarm, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
static ExplosionPart.KIND
valueOf(String name)
+valueOf(java.lang.String name)
static ExplosionPart.SIDE
valueOf(String name)
+valueOf(java.lang.String name)
static Item.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
private String
private java.lang.String
getKeyText(Input.KEY key)
private Map<Input.KEY,Integer>
private java.util.Map<Input.KEY,java.lang.Integer>
mapper
static Input.KEY
valueOf(String name)
+valueOf(java.lang.String name)
private static void
game3d(Input.KEY key,
+ Input.KEY direction)
+int
getCodeKey(Input.KEY key)
private static void
intro(Input.KEY key,
Input.KEY direction)
private static void
main_menu(Input.KEY key,
Input.KEY direction)
private static void
options_menu(Input.KEY key,
Input.KEY direction)
private static void
pause(Input.KEY key,
Input.KEY direction)
void
processKey(Input.KEY key,
Input.KEY direction)
private static void
ranks(Input.KEY key,
Input.KEY direction)
void
step(Input.KEY key,
Input.KEY direction)
private static void
top10(Input.KEY key,
Input.KEY direction)
diff --git a/Bomberman/doc/logic/class-use/Input.html b/Bomberman/doc/logic/class-use/Input.html
index 63b6c1b..968aa7b 100644
--- a/Bomberman/doc/logic/class-use/Input.html
+++ b/Bomberman/doc/logic/class-use/Input.html
@@ -2,9 +2,9 @@
-
+
Modifier and Type | +Field and Description | +
---|---|
java.util.Map<Objeto,com.badlogic.gdx.graphics.g3d.ModelInstance> |
+SuperBomberman3D.objetos |
+
List<Objeto>
java.util.List<Objeto>
objetos
List<Objeto>
java.util.List<Objeto>
collision()
private ArrayList<Objeto>
private java.util.ArrayList<Objeto>
ownBombs
int
checkPlayerCollisions(List<Objeto> toCheck,
- List<Objeto> finalCollision)
checkPlayerCollisions(java.util.List<Objeto> toCheck,
+ java.util.List<Objeto> finalCollision)
int
checkPlayerCollisions(List<Objeto> toCheck,
- List<Objeto> finalCollision)
checkPlayerCollisions(java.util.List<Objeto> toCheck,
+ java.util.List<Objeto> finalCollision)
generateRandomObject(int row,
int col,
Room room,
- List<Character> list)
+ java.util.List<java.lang.Character> list)
static List<Objeto>
static java.util.List<Objeto>
generateMap(Room room)
static List<Objeto>
getMap(String file,
+static java.util.List<Objeto>
+Map.getMap(java.lang.String file,
Room room)
Creates a map from a file
diff --git a/Bomberman/doc/logic/class-use/Sprite.html b/Bomberman/doc/logic/class-use/Sprite.html
index 36728b3..4dec4f2 100644
--- a/Bomberman/doc/logic/class-use/Sprite.html
+++ b/Bomberman/doc/logic/class-use/Sprite.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.Sprite
-
+
@@ -162,7 +162,7 @@ Uses of Sprite
int y,
Room r,
Sprite sprite,
- Runnable run)
ControlButton(int x,
@@ -170,7 +170,7 @@ Uses of Sprite
Room r,
Sprite sprite,
Input.KEY myKey,
- Runnable run)
Visual(int x,
@@ -299,7 +299,7 @@ Uses of Sprite
int x2,
int i2,
int j2,
- String text)
static Map<String,Sprite>
static java.util.Map<java.lang.String,Sprite>
enemy
static Map<String,Sprite>
static java.util.Map<java.lang.String,Sprite>
player
(package private) static Sprite
gameButton
d3gameButton
(package private) static Sprite
optionsButton
gameButton
(package private) static Sprite
quitButton
optionsButton
(package private) static Sprite
rankingButton
quitButton
(package private) static Sprite
rankingButton
(package private) static Sprite
titleButton
private Map<String,Sprite>
private java.util.Map<java.lang.String,Sprite>
sprites
(package private) Map<String,Sprite>
(package private) java.util.Map<java.lang.String,Sprite>
sprites
static Sprite
getSpriteFromFile(String name,
- String file)
+getSpriteFromFile(java.lang.String name,
+ java.lang.String file)
static Sprite
getSpriteFromMap(String name)
+getSpriteFromMap(java.lang.String name)
static Sprite
getSpriteFromMenu(String name)
+getSpriteFromMenu(java.lang.String name)
static Sprite
getSpriteFromSprites(String name)
+getSpriteFromSprites(java.lang.String name)
static Map<String,Sprite>
getSpritesFromTableSprites(String name,
- String[] sprs)
+static java.util.Map<java.lang.String,Sprite>
getSpritesFromTableSprites(java.lang.String name,
+ java.lang.String[] sprs)
private static StatesMachine.STATE
static StatesMachine.STATE
state
static StatesMachine.STATE
valueOf(String name)
+valueOf(java.lang.String name)
public class BoundingBox -extends Object+extends java.lang.Object
static Rectangle
static java.awt.Rectangle
collisionRectangle(BoundingBox bb1,
BoundingBox bb2)
getHeight()
private Rectangle
private java.awt.Rectangle
getRectangle()
getY()
String
java.lang.String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
@@ -338,8 +338,8 @@ public static Rectangle collisionRectangle(BoundingBox bb1, - BoundingBox bb2)+
public static java.awt.Rectangle collisionRectangle(BoundingBox bb1, + BoundingBox bb2)
bb1
- first bounding boxprivate Rectangle getRectangle()+
private java.awt.Rectangle getRectangle()
public String toString()+
public java.lang.String toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public class Point2D -extends Object+extends java.lang.Object
getY()
String
java.lang.String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
@@ -330,10 +330,10 @@ public String toString()+
public java.lang.String toString()
static Rectangle
static java.awt.Rectangle
collisionRectangle(BoundingBox bb1,
BoundingBox bb2)
static void
paintDigits(String number,
+PaintService.paintDigits(java.lang.String number,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method to paint digits, records and ranking
static void
-PaintService.paintDigitsColor(String number,
+PaintService.paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method to paint colored digits on screen
static void
-PaintService.paintDigitsColor(String number,
+PaintService.paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
@@ -207,17 +207,17 @@ Uses of
static void
-PaintService.paintText(String text,
+PaintService.paintText(java.lang.String text,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method for painting white text on the screen at initial_position position
static void
-PaintService.paintTextColor(String text,
+PaintService.paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method for painting colored text on the screen at initial_position
position
@@ -225,9 +225,9 @@ Uses of
static void
-PaintService.paintTextColor(String text,
+PaintService.paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
diff --git a/Bomberman/doc/logic/collisions/package-frame.html b/Bomberman/doc/logic/collisions/package-frame.html
index e5cff30..7b04dfc 100644
--- a/Bomberman/doc/logic/collisions/package-frame.html
+++ b/Bomberman/doc/logic/collisions/package-frame.html
@@ -2,9 +2,9 @@
-
+
logic.collisions
-
+
diff --git a/Bomberman/doc/logic/collisions/package-summary.html b/Bomberman/doc/logic/collisions/package-summary.html
index 41daae4..e8a1970 100644
--- a/Bomberman/doc/logic/collisions/package-summary.html
+++ b/Bomberman/doc/logic/collisions/package-summary.html
@@ -2,9 +2,9 @@
-
+
logic.collisions
-
+
diff --git a/Bomberman/doc/logic/collisions/package-tree.html b/Bomberman/doc/logic/collisions/package-tree.html
index 9520f1d..cb4e4d5 100644
--- a/Bomberman/doc/logic/collisions/package-tree.html
+++ b/Bomberman/doc/logic/collisions/package-tree.html
@@ -2,9 +2,9 @@
-
+
logic.collisions Class Hierarchy
-
+
@@ -79,7 +79,7 @@ Hierarchy For Package logic.collisions
Class Hierarchy
-- java.lang.Object
+
- java.lang.Object
- logic.collisions.BoundingBox
diff --git a/Bomberman/doc/logic/collisions/package-use.html b/Bomberman/doc/logic/collisions/package-use.html
index 0695bf3..e5ccc91 100644
--- a/Bomberman/doc/logic/collisions/package-use.html
+++ b/Bomberman/doc/logic/collisions/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package logic.collisions
-
+
diff --git a/Bomberman/doc/logic/misc/Level.html b/Bomberman/doc/logic/misc/Level.html
index 9b8b110..9702ff4 100644
--- a/Bomberman/doc/logic/misc/Level.html
+++ b/Bomberman/doc/logic/misc/Level.html
@@ -2,9 +2,9 @@
-
+
Level
-
+
@@ -91,7 +91,7 @@ Class Level
-- java.lang.Object
+- java.lang.Object
-
- logic.Objeto
@@ -189,14 +189,14 @@ Method Summary
Methods inherited from class logic.Objeto
-alarm, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
+alarm, animate, checkAnimationEnd, collision, create, customCollision, customDestroy, customStep, destroy, isAlarmSet, processKey, render, resetAnimationEnd, setAlarm, step, tryToMove, unsetAlarm
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
diff --git a/Bomberman/doc/logic/misc/LevelFile.html b/Bomberman/doc/logic/misc/LevelFile.html
index d99b9b6..47fdd27 100644
--- a/Bomberman/doc/logic/misc/LevelFile.html
+++ b/Bomberman/doc/logic/misc/LevelFile.html
@@ -2,9 +2,9 @@
-
+
LevelFile
-
+
@@ -97,7 +97,7 @@ Class LevelFile
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.LevelFile
@@ -110,7 +110,7 @@ Class LevelFile
public class LevelFile
-extends Object
+extends java.lang.Object
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -187,8 +187,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
diff --git a/Bomberman/doc/logic/misc/LevelManager.html b/Bomberman/doc/logic/misc/LevelManager.html
index 22ba332..1ebcbfa 100644
--- a/Bomberman/doc/logic/misc/LevelManager.html
+++ b/Bomberman/doc/logic/misc/LevelManager.html
@@ -2,9 +2,9 @@
-
+
LevelManager
-
+
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -97,7 +97,7 @@ Class LevelManager
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.LevelManager
@@ -110,7 +110,7 @@ Class LevelManager
public class LevelManager
-extends Object
+extends java.lang.Object
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -184,16 +184,20 @@ Method Summary
actualLevel()
+boolean
+continueLevel()
+
+
int
level()
-
+
void
nextLevel()
Get to the next level
-
+
void
resetLevel()
Resets the level
@@ -204,8 +208,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -288,6 +292,15 @@ nextLevel
Get to the next level
+
+
+
+
+-
+
continueLevel
+public boolean continueLevel()
+
+
diff --git a/Bomberman/doc/logic/misc/Map.html b/Bomberman/doc/logic/misc/Map.html
index 8a57d98..3cf76fe 100644
--- a/Bomberman/doc/logic/misc/Map.html
+++ b/Bomberman/doc/logic/misc/Map.html
@@ -2,9 +2,9 @@
-
+
Map
-
+
@@ -97,7 +97,7 @@ Class Map
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.Map
@@ -110,7 +110,7 @@ Class Map
public class Map
-extends Object
+extends java.lang.Object
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -162,7 +162,7 @@ Field Summary
ENEMY
-private static int
+static int
fixpos
@@ -241,14 +241,14 @@ Method Summary
-private static List<Character>
+private static java.util.List<java.lang.Character>
generateListOfObjects()
Generates a list of types of destroyable blocks to use when generating
random maps
-static List<Objeto>
+static java.util.List<Objeto>
generateMap(Room room)
Generates a random map from various templates
@@ -258,7 +258,7 @@ Method Summary
generateRandomObject(int row,
int col,
Room room,
- List<Character> list)
+ java.util.List<java.lang.Character> list)
Generates a random object
@@ -267,8 +267,8 @@ Method Summary
getCol(int x)
-static List<Objeto>
-getMap(String file,
+static java.util.List<Objeto>
+getMap(java.lang.String file,
Room room)
Creates a map from a file
@@ -311,8 +311,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -438,7 +438,7 @@ NOTHING
-
fixpos
-private static final int fixpos
+public static final int fixpos
- See Also:
- Constant Field Values
@@ -476,8 +476,8 @@ Method Detail
-
getMap
-public static List<Objeto> getMap(String file,
- Room room)
+public static java.util.List<Objeto> getMap(java.lang.String file,
+ Room room)
Creates a map from a file
- Parameters:
@@ -494,7 +494,7 @@ getMap
-
generateMap
-public static List<Objeto> generateMap(Room room)
+public static java.util.List<Objeto> generateMap(Room room)
Generates a random map from various templates
- Parameters:
@@ -652,7 +652,7 @@ getCol
-
generateListOfObjects
-private static List<Character> generateListOfObjects()
+private static java.util.List<java.lang.Character> generateListOfObjects()
Generates a list of types of destroyable blocks to use when generating
random maps
@@ -670,7 +670,7 @@ generateRandomObject
private static Objeto generateRandomObject(int row,
int col,
Room room,
- List<Character> list)
+ java.util.List<java.lang.Character> list)
Generates a random object
- Parameters:
diff --git a/Bomberman/doc/logic/misc/ObjetoComparator.html b/Bomberman/doc/logic/misc/ObjetoComparator.html
index 2fe8447..4b8c121 100644
--- a/Bomberman/doc/logic/misc/ObjetoComparator.html
+++ b/Bomberman/doc/logic/misc/ObjetoComparator.html
@@ -2,9 +2,9 @@
-
+
ObjetoComparator
-
+
@@ -97,7 +97,7 @@ Class ObjetoComparator
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.ObjetoComparator
@@ -109,13 +109,13 @@ Class ObjetoComparator
-
- All Implemented Interfaces:
-- Comparator<Objeto>
+- java.util.Comparator<Objeto>
public class ObjetoComparator
-extends Object
-implements Comparator<Objeto>
+extends java.lang.Object
+implements java.util.Comparator<Objeto>
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -165,15 +165,15 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Methods inherited from interface java.util.Comparator
-comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
+Methods inherited from interface java.util.Comparator
+comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@@ -216,7 +216,7 @@ compare
Objeto arg1)
- Specified by:
-compare
in interface Comparator<Objeto>
+compare
in interface java.util.Comparator<Objeto>
diff --git a/Bomberman/doc/logic/misc/Ranking.html b/Bomberman/doc/logic/misc/Ranking.html
index cec16d9..cc93818 100644
--- a/Bomberman/doc/logic/misc/Ranking.html
+++ b/Bomberman/doc/logic/misc/Ranking.html
@@ -2,9 +2,9 @@
-
+
Ranking
-
+
@@ -97,7 +97,7 @@ Class Ranking
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.Ranking
@@ -109,13 +109,13 @@ Class Ranking
-
- All Implemented Interfaces:
-- Serializable
+- java.io.Serializable
public class Ranking
-extends Object
-implements Serializable
+extends java.lang.Object
+implements java.io.Serializable
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -145,7 +145,7 @@ Field Summary
MAX_RECORDS
-private List<Record>
+private java.util.List<Record>
records
@@ -172,7 +172,7 @@ Constructor Summary
-Ranking(List<Record> records)
+Ranking(java.util.List<Record> records)
Creates a ranking from a set of records
@@ -192,7 +192,7 @@ Method Summary
Method and Description
-List<Record>
+java.util.List<Record>
getRecords()
@@ -206,8 +206,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -242,7 +242,7 @@ serialVersionUID
@@ -282,7 +282,7 @@ Ranking
-
Ranking
-public Ranking(List<Record> records)
+public Ranking(java.util.List<Record> records)
Creates a ranking from a set of records
- Parameters:
@@ -304,7 +304,7 @@ Method Detail
-
getRecords
-public List<Record> getRecords()
+public java.util.List<Record> getRecords()
- Returns:
- the records
diff --git a/Bomberman/doc/logic/misc/Record.html b/Bomberman/doc/logic/misc/Record.html
index 38d9405..07e46b8 100644
--- a/Bomberman/doc/logic/misc/Record.html
+++ b/Bomberman/doc/logic/misc/Record.html
@@ -2,9 +2,9 @@
-
+
Record
-
+
@@ -97,7 +97,7 @@ Class Record
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.Record
@@ -109,13 +109,13 @@ Class Record
-
- All Implemented Interfaces:
-- Serializable
+- java.io.Serializable
public class Record
-extends Object
-implements Serializable
+extends java.lang.Object
+implements java.io.Serializable
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -191,8 +191,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
diff --git a/Bomberman/doc/logic/misc/RecordComparator.html b/Bomberman/doc/logic/misc/RecordComparator.html
index 3b567aa..6e06c36 100644
--- a/Bomberman/doc/logic/misc/RecordComparator.html
+++ b/Bomberman/doc/logic/misc/RecordComparator.html
@@ -2,9 +2,9 @@
-
+
RecordComparator
-
+
@@ -97,7 +97,7 @@ Class RecordComparator
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.RecordComparator
@@ -109,13 +109,13 @@ Class RecordComparator
-
- All Implemented Interfaces:
-- Comparator<Record>
+- java.util.Comparator<Record>
public class RecordComparator
-extends Object
-implements Comparator<Record>
+extends java.lang.Object
+implements java.util.Comparator<Record>
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -165,15 +165,15 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Methods inherited from interface java.util.Comparator
-comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
+Methods inherited from interface java.util.Comparator
+comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@@ -216,7 +216,7 @@ compare
Record arg1)
- Specified by:
-compare
in interface Comparator<Record>
+compare
in interface java.util.Comparator<Record>
diff --git a/Bomberman/doc/logic/misc/ScoreManager.html b/Bomberman/doc/logic/misc/ScoreManager.html
index c61bc47..fe7f4ae 100644
--- a/Bomberman/doc/logic/misc/ScoreManager.html
+++ b/Bomberman/doc/logic/misc/ScoreManager.html
@@ -2,9 +2,9 @@
-
+
ScoreManager
-
+
@@ -97,7 +97,7 @@ Class ScoreManager
-- java.lang.Object
+- java.lang.Object
-
- logic.misc.ScoreManager
@@ -110,7 +110,7 @@ Class ScoreManager
public class ScoreManager
-extends Object
+extends java.lang.Object
@@ -213,8 +213,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
diff --git a/Bomberman/doc/logic/misc/class-use/Level.html b/Bomberman/doc/logic/misc/class-use/Level.html
index fc92648..273dd35 100644
--- a/Bomberman/doc/logic/misc/class-use/Level.html
+++ b/Bomberman/doc/logic/misc/class-use/Level.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.Level
-
+
@@ -103,7 +103,7 @@ Uses of
-protected Level
+Level
Game.level
diff --git a/Bomberman/doc/logic/misc/class-use/LevelFile.html b/Bomberman/doc/logic/misc/class-use/LevelFile.html
index a4142ca..76def4d 100644
--- a/Bomberman/doc/logic/misc/class-use/LevelFile.html
+++ b/Bomberman/doc/logic/misc/class-use/LevelFile.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.LevelFile
-
+
diff --git a/Bomberman/doc/logic/misc/class-use/LevelManager.html b/Bomberman/doc/logic/misc/class-use/LevelManager.html
index 95357fa..debf5f2 100644
--- a/Bomberman/doc/logic/misc/class-use/LevelManager.html
+++ b/Bomberman/doc/logic/misc/class-use/LevelManager.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.LevelManager
-
+
diff --git a/Bomberman/doc/logic/misc/class-use/Map.html b/Bomberman/doc/logic/misc/class-use/Map.html
index e66e588..f89da9d 100644
--- a/Bomberman/doc/logic/misc/class-use/Map.html
+++ b/Bomberman/doc/logic/misc/class-use/Map.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.Map
-
+
diff --git a/Bomberman/doc/logic/misc/class-use/ObjetoComparator.html b/Bomberman/doc/logic/misc/class-use/ObjetoComparator.html
index a67beaa..83c5868 100644
--- a/Bomberman/doc/logic/misc/class-use/ObjetoComparator.html
+++ b/Bomberman/doc/logic/misc/class-use/ObjetoComparator.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.ObjetoComparator
-
+
diff --git a/Bomberman/doc/logic/misc/class-use/Ranking.html b/Bomberman/doc/logic/misc/class-use/Ranking.html
index b377db1..23e9ce3 100644
--- a/Bomberman/doc/logic/misc/class-use/Ranking.html
+++ b/Bomberman/doc/logic/misc/class-use/Ranking.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.Ranking
-
+
@@ -126,7 +126,7 @@ Uses of
static Ranking
-SaveSystemService.load(String file)
+ SaveSystemService.load(java.lang.String file)
Method to load from file or create a ranking object
@@ -142,7 +142,7 @@ Uses of
static boolean
SaveSystemService.save(Ranking object,
- String file)
+ java.lang.String file)
Method to save the ranking onto a file
diff --git a/Bomberman/doc/logic/misc/class-use/Record.html b/Bomberman/doc/logic/misc/class-use/Record.html
index 8200636..93592cf 100644
--- a/Bomberman/doc/logic/misc/class-use/Record.html
+++ b/Bomberman/doc/logic/misc/class-use/Record.html
@@ -2,9 +2,9 @@
-
+
Uses of Class logic.misc.Record
-
+
@@ -121,7 +121,7 @@ Uses of
RankMenu(int w,
int h,
- String n,
+ java.lang.String n,
Record record)
private List<Record>
private java.util.List<Record>
records
List<Record>
java.util.List<Record>
getRecords()
Ranking(List<Record> records)
+Ranking(java.util.List<Record> records)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract class Objective -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Class and Description | +
---|
Objeto | +
public class Game -extends Canvas -implements Runnable+extends java.awt.Canvas +implements java.lang.Runnable
Canvas.AccessibleAWTCanvas
java.awt.Canvas.AccessibleAWTCanvas
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
FPS
static JFrame
static javax.swing.JFrame
frame
HEIGHT
static BufferedImage
static java.awt.image.BufferedImage
image
serialVersionUID
private Thread
private java.lang.Thread
thread
static String
static java.lang.String
TITLE
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS
static void
main(String[] args)
+main(java.lang.String[] args)
void
reloadMapping()
reloadMapping()
+private void
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, paint, update
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, paint, update
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final String TITLE+
public static final java.lang.String TITLE
public static JFrame frame+
public static javax.swing.JFrame frame
private Thread thread+
private java.lang.Thread thread
public static BufferedImage image+
public static java.awt.image.BufferedImage image
public void run()@@ -545,7 +547,7 @@
public static void main(String[] args)+
public static void main(java.lang.String[] args)
public void reloadMapping()+
public static enum Initialization.CTRLS -extends Enum<Initialization.CTRLS>+extends java.lang.Enum<Initialization.CTRLS>
static Initialization.CTRLS
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Initialization.CTRLS valueOf(String name)+
public static Initialization.CTRLS valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static enum Initialization.MENUS -extends Enum<Initialization.MENUS>+extends java.lang.Enum<Initialization.MENUS>
CREDITS_BUTTON
DIGITS
D3GAME_BUTTON
GAME_BUTTON
DIGITS
HUD
GAME_BUTTON
LOADING
HUD
NEW
LOADING
OPTIONS_BUTTON
NEW
QUIT_BUTTON
OPTIONS_BUTTON
RANKING_BUTTON
QUIT_BUTTON
SLIDER
RANKING_BUTTON
TITLE_BUTTON
SLIDER
TITLE_BUTTON
VICTORY
static Initialization.MENUS
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static final Initialization.MENUS GAME_BUTTON+ + + +
public static final Initialization.MENUS D3GAME_BUTTON+
public static Initialization.MENUS valueOf(String name)+
public static Initialization.MENUS valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static enum Initialization.SPRITES -extends Enum<Initialization.SPRITES>+extends java.lang.Enum<Initialization.SPRITES>
static Initialization.SPRITES
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Initialization.SPRITES valueOf(String name)+
public static Initialization.SPRITES valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static enum Initialization.STAGE -extends Enum<Initialization.STAGE>+extends java.lang.Enum<Initialization.STAGE>
static Initialization.STAGE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Initialization.STAGE valueOf(String name)+
public static Initialization.STAGE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static enum Initialization.TYPE -extends Enum<Initialization.TYPE>+extends java.lang.Enum<Initialization.TYPE>
static Initialization.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
getClass, notify, notifyAll, wait, wait, wait
public static Initialization.TYPE valueOf(String name)+
public static Initialization.TYPE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class Initialization -extends Object+extends java.lang.Object
ALPHANUM_WIDTH
static String[]
static java.lang.String[]
BOMBERMAN_SPRS
private static Map<String,Integer>
private static java.util.Map<java.lang.String,java.lang.Integer>
DEPTHS
static String[]
static java.lang.String[]
ENEMIES_SPRS
initialized
static String
static java.lang.String
MAP_FILE
MAP_Y_OFFSET
static String
static java.lang.String
MENU_FILE
static String
static java.lang.String
SPRITE_FILE
static String[]
static java.lang.String[]
SPRITE_TERMS
static int
getCenterXFromSpriteName(String name)
+getCenterXFromSpriteName(java.lang.String name)
static int
getCenterYFromSpriteName(String name)
+getCenterYFromSpriteName(java.lang.String name)
static int
getDepth(String objectName)
+getDepth(java.lang.String objectName)
static Sprite
getSpriteFromFile(String name,
- String file)
+getSpriteFromFile(java.lang.String name,
+ java.lang.String file)
static Sprite
getSpriteFromMap(String name)
+getSpriteFromMap(java.lang.String name)
static Sprite
getSpriteFromMenu(String name)
+getSpriteFromMenu(java.lang.String name)
static Sprite
getSpriteFromSprites(String name)
+getSpriteFromSprites(java.lang.String name)
static Map<String,Sprite>
getSpritesFromTableSprites(String name,
- String[] sprs)
+static java.util.Map<java.lang.String,Sprite>
getSpritesFromTableSprites(java.lang.String name,
+ java.lang.String[] sprs)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String SPRITE_FILE+
public static final java.lang.String SPRITE_FILE
public static final String MAP_FILE+
public static final java.lang.String MAP_FILE
public static final String MENU_FILE+
public static final java.lang.String MENU_FILE
public static final String[] BOMBERMAN_SPRS+
public static final java.lang.String[] BOMBERMAN_SPRS
public static final String[] ENEMIES_SPRS+
public static final java.lang.String[] ENEMIES_SPRS
public static final String[] SPRITE_TERMS+
public static final java.lang.String[] SPRITE_TERMS
public static Map<String,Sprite> getSpritesFromTableSprites(String name, - String[] sprs)+
public static java.util.Map<java.lang.String,Sprite> getSpritesFromTableSprites(java.lang.String name, + java.lang.String[] sprs)
public static Sprite getSpriteFromMap(String name)+
public static Sprite getSpriteFromMap(java.lang.String name)
public static Sprite getSpriteFromSprites(String name)+
public static Sprite getSpriteFromSprites(java.lang.String name)
public static Sprite getSpriteFromMenu(String name)+
public static Sprite getSpriteFromMenu(java.lang.String name)
public static Sprite getSpriteFromFile(String name, - String file)+
public static Sprite getSpriteFromFile(java.lang.String name, + java.lang.String file)
public static int getDepth(String objectName)+
public static int getDepth(java.lang.String objectName)
public static int getCenterXFromSpriteName(String name)+
public static int getCenterXFromSpriteName(java.lang.String name)
public static int getCenterYFromSpriteName(String name)+
public static int getCenterYFromSpriteName(java.lang.String name)
static Initialization.CTRLS
valueOf(String name)
+valueOf(java.lang.String name)
static Initialization.MENUS
valueOf(String name)
+valueOf(java.lang.String name)
static Initialization.SPRITES
valueOf(String name)
+valueOf(java.lang.String name)
static Initialization.STAGE
valueOf(String name)
+valueOf(java.lang.String name)
static Initialization.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
Thread thread+
java.lang.Thread thread
public class MusicRepository -extends Object+extends java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public class SoundTrack -extends Object+extends java.lang.Object
private static String
private static java.lang.String
AUDIO
static String
static java.lang.String
BATTLE_MUSIC
static String
static java.lang.String
CREDITS_MUSIC
static String
static java.lang.String
DEFEAT_MUSIC
static String
static java.lang.String
EXPLOSION_SND
static String
static java.lang.String
GAMEOVER_MUSIC
static String
static java.lang.String
INTRO_MUSIC
static String
static java.lang.String
MENU_MUSIC
private static String
private static java.lang.String
MUSIC
static String
static java.lang.String
PAUSE_MUSIC
static String
static java.lang.String
POWERUP_SND
static String
static java.lang.String
PUTBOMB_SND
static String
static java.lang.String
SELECT_SND
private static String
private static java.lang.String
SOUND
static String
static java.lang.String
VICTORY_MUSIC
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static final String AUDIO+
private static final java.lang.String AUDIO
private static final String MUSIC+
private static final java.lang.String MUSIC
private static final String SOUND+
private static final java.lang.String SOUND
public static final String BATTLE_MUSIC+
public static final java.lang.String BATTLE_MUSIC
public static final String CREDITS_MUSIC+
public static final java.lang.String CREDITS_MUSIC
public static final String GAMEOVER_MUSIC+
public static final java.lang.String GAMEOVER_MUSIC
public static final String MENU_MUSIC+
public static final java.lang.String MENU_MUSIC
public static final String PAUSE_MUSIC+
public static final java.lang.String PAUSE_MUSIC
public static final String DEFEAT_MUSIC+
public static final java.lang.String DEFEAT_MUSIC
public static final String INTRO_MUSIC+
public static final java.lang.String INTRO_MUSIC
public static final String VICTORY_MUSIC+
public static final java.lang.String VICTORY_MUSIC
public static final String EXPLOSION_SND+
public static final java.lang.String EXPLOSION_SND
public static final String PUTBOMB_SND+
public static final java.lang.String PUTBOMB_SND
public static final String SELECT_SND+
public static final java.lang.String SELECT_SND
public static final String POWERUP_SND+
public static final java.lang.String POWERUP_SND
public class Animation -extends Object+extends java.lang.Object
static BufferedImage[]
getSpritesFromImage(BufferedImage sheet,
+static java.awt.image.BufferedImage[]
+getSpritesFromImage(java.awt.image.BufferedImage sheet,
int frames,
int width,
int height)
@@ -160,8 +160,8 @@ Method Summary
static BufferedImage[]
getSpritesFromImage(BufferedImage sheet,
+static java.awt.image.BufferedImage[]
+getSpritesFromImage(java.awt.image.BufferedImage sheet,
int frames,
int width,
int height,
@@ -175,8 +175,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -215,10 +215,10 @@ Method Detail
-
getSpritesFromImage
-public static BufferedImage[] getSpritesFromImage(BufferedImage sheet,
- int frames,
- int width,
- int height)
+public static java.awt.image.BufferedImage[] getSpritesFromImage(java.awt.image.BufferedImage sheet,
+ int frames,
+ int width,
+ int height)
Method to get the sprites from a spritesheet (only one row allowed)
- Parameters:
@@ -237,11 +237,11 @@ getSpritesFromImage
-
getSpritesFromImage
-public static BufferedImage[] getSpritesFromImage(BufferedImage sheet,
- int frames,
- int width,
- int height,
- int transparency)
+public static java.awt.image.BufferedImage[] getSpritesFromImage(java.awt.image.BufferedImage sheet,
+ int frames,
+ int width,
+ int height,
+ int transparency)
Method to get the sprites from a spritesheet (only one row allowed)
adding transparency to pixels with 'transparency' color
diff --git a/Bomberman/doc/utils/ConvertTimeService.html b/Bomberman/doc/utils/ConvertTimeService.html
index 1816491..c1f3744 100644
--- a/Bomberman/doc/utils/ConvertTimeService.html
+++ b/Bomberman/doc/utils/ConvertTimeService.html
@@ -2,9 +2,9 @@
-
+
ConvertTimeService
-
+
@@ -97,7 +97,7 @@ Class ConvertTimeService
-- java.lang.Object
+- java.lang.Object
-
- utils.ConvertTimeService
@@ -110,7 +110,7 @@ Class ConvertTimeService
public class ConvertTimeService
-extends Object
+extends java.lang.Object
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -170,7 +170,7 @@ Method Summary
Method and Description
static String
static java.lang.String
timeToString(long seconds)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -237,7 +237,7 @@ public static String timeToString(long seconds)+
public static java.lang.String timeToString(long seconds)
public class FileUtils -extends Object+extends java.lang.Object
static File
getFile(String file)
+static java.io.File
getFile(java.lang.String file)
static int
numberOfFiles(String folder,
- String initFile,
- String endFile)
+numberOfFiles(java.lang.String folder,
+ java.lang.String initFile,
+ java.lang.String endFile)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -211,7 +211,7 @@ public static File getFile(String file)+
public static java.io.File getFile(java.lang.String file)
public static int numberOfFiles(String folder, - String initFile, - String endFile)+
public static int numberOfFiles(java.lang.String folder, + java.lang.String initFile, + java.lang.String endFile)
public class IniUtils -extends Object+extends java.lang.Object
static void
addValue(String file,
- String section,
- String term,
- String value)
+addValue(java.lang.String file,
+ java.lang.String section,
+ java.lang.String term,
+ java.lang.String value)
static String
getValue(String file,
- String section,
- String term)
+static java.lang.String
getValue(java.lang.String file,
+ java.lang.String section,
+ java.lang.String term)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static String getValue(String file, - String section, - String term)+
public static java.lang.String getValue(java.lang.String file, + java.lang.String section, + java.lang.String term)
public static void addValue(String file, - String section, - String term, - String value)+
public static void addValue(java.lang.String file, + java.lang.String section, + java.lang.String term, + java.lang.String value)
public static enum PaintService.TYPE -extends Enum<PaintService.TYPE>+extends java.lang.Enum<PaintService.TYPE>
static PaintService.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static PaintService.TYPE valueOf(String name)+
public static PaintService.TYPE valueOf(java.lang.String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulljava.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class PaintService -extends Object+extends java.lang.Object
static Color
static java.awt.Color
ALPHABET_WHITE
private static String
private static java.lang.String
charAlphabet
private static String
private static java.lang.String
charDigits
static Color
static java.awt.Color
DIGITS_ORANGE
private static BufferedImage
changeColor(BufferedImage input,
+private static java.awt.image.BufferedImage
+changeColor(java.awt.image.BufferedImage input,
int RGB,
PaintService.TYPE t)
Method to change color of the image
@@ -222,26 +222,26 @@ Method Summary
static void
paintDigits(String number,
+paintDigits(java.lang.String number,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method to paint digits, records and ranking
static void
paintDigitsColor(String number,
+paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method to paint colored digits on screen
static void
paintDigitsColor(String number,
+paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
@@ -251,17 +251,17 @@ Method Summary
static void
paintText(String text,
+paintText(java.lang.String text,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method for painting white text on the screen at initial_position position
static void
paintTextColor(String text,
+paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method for painting colored text on the screen at initial_position
position
@@ -269,9 +269,9 @@ Method Summary
static void
paintTextColor(String text,
+paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
@@ -284,8 +284,8 @@ Method Summary
-
-
Methods inherited from class java.lang.Object
-clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@@ -307,7 +307,7 @@ Field Detail
-
charAlphabet
-private static String charAlphabet
+private static java.lang.String charAlphabet
@@ -316,7 +316,7 @@ charAlphabet
-
charDigits
-private static String charDigits
+private static java.lang.String charDigits
@@ -325,7 +325,7 @@ charDigits
-
DIGITS_ORANGE
-public static Color DIGITS_ORANGE
+public static java.awt.Color DIGITS_ORANGE
@@ -334,7 +334,7 @@ DIGITS_ORANGE
-
ALPHABET_WHITE
-public static Color ALPHABET_WHITE
+public static java.awt.Color ALPHABET_WHITE
@@ -368,9 +368,9 @@ Method Detail
-
paintText
-public static void paintText(String text,
+public static void paintText(java.lang.String text,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method for painting white text on the screen at initial_position position
- Parameters:
@@ -386,9 +386,9 @@ paintText
-
paintTextColor
-public static void paintTextColor(String text,
+public static void paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method for painting colored text on the screen at initial_position
position
@@ -407,9 +407,9 @@ paintTextColor
-
paintTextColor
-public static void paintTextColor(String text,
+public static void paintTextColor(java.lang.String text,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
@@ -432,9 +432,9 @@ paintTextColor
-
paintDigits
-public static void paintDigits(String number,
+public static void paintDigits(java.lang.String number,
Point2D initial_position,
- Graphics g)
+ java.awt.Graphics g)
Method to paint digits, records and ranking
- Parameters:
@@ -450,9 +450,9 @@ paintDigits
-
paintDigitsColor
-public static void paintDigitsColor(String number,
+public static void paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int RGB)
Method to paint colored digits on screen
@@ -470,9 +470,9 @@ paintDigitsColor
-
paintDigitsColor
-public static void paintDigitsColor(String number,
+public static void paintDigitsColor(java.lang.String number,
Point2D initial_position,
- Graphics g,
+ java.awt.Graphics g,
int R,
int G,
int B)
@@ -511,9 +511,9 @@ getCharInt
-
changeColor
-private static BufferedImage changeColor(BufferedImage input,
- int RGB,
- PaintService.TYPE t)
+private static java.awt.image.BufferedImage changeColor(java.awt.image.BufferedImage input,
+ int RGB,
+ PaintService.TYPE t)
Method to change color of the image
- Parameters:
diff --git a/Bomberman/doc/utils/RunFromJar.html b/Bomberman/doc/utils/RunFromJar.html
index c3eec86..0f1f69e 100644
--- a/Bomberman/doc/utils/RunFromJar.html
+++ b/Bomberman/doc/utils/RunFromJar.html
@@ -2,9 +2,9 @@
-
+
RunFromJar
-
+
@@ -97,7 +97,7 @@ Class RunFromJar
-- java.lang.Object
+- java.lang.Object
-
- utils.RunFromJar
@@ -110,7 +110,7 @@ Class RunFromJar
public class RunFromJar
-extends Object
+extends java.lang.Object
- Author:
- Patricia Lazaro Tello (554309), Jaime Ruiz-Borau Vizarraga (546751)
@@ -134,15 +134,15 @@ Field Summary
Field and Description
private static String
private static java.lang.String
FILE
private static String
private static java.lang.String
JAR
private static String
private static java.lang.String
RSRC
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static final String JAR+
private static final java.lang.String JAR
private static final String RSRC+
private static final java.lang.String RSRC
private static final String FILE+
private static final java.lang.String FILE
public class SaveSystemService -extends Object+extends java.lang.Object
static String
static java.lang.String
PATH
static Ranking
load(String file)
+load(java.lang.String file)
static boolean
save(Ranking object,
- String file)
+ java.lang.String file)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PATH+
public static final java.lang.String PATH
public static boolean save(Ranking object, - String file)+ java.lang.String file)
public static Ranking load(String file)+
public static Ranking load(java.lang.String file)
static PaintService.TYPE
valueOf(String name)
+valueOf(java.lang.String name)
private static BufferedImage
changeColor(BufferedImage input,
+private static java.awt.image.BufferedImage
+PaintService.changeColor(java.awt.image.BufferedImage input,
int RGB,
PaintService.TYPE t)
Method to change color of the image
diff --git a/Bomberman/doc/utils/class-use/PaintService.html b/Bomberman/doc/utils/class-use/PaintService.html
index d1640ac..a38ba22 100644
--- a/Bomberman/doc/utils/class-use/PaintService.html
+++ b/Bomberman/doc/utils/class-use/PaintService.html
@@ -2,9 +2,9 @@
-
+
Uses of Class utils.PaintService
-
+
diff --git a/Bomberman/doc/utils/class-use/RunFromJar.html b/Bomberman/doc/utils/class-use/RunFromJar.html
index 59698c9..896c528 100644
--- a/Bomberman/doc/utils/class-use/RunFromJar.html
+++ b/Bomberman/doc/utils/class-use/RunFromJar.html
@@ -2,9 +2,9 @@
-
+
Uses of Class utils.RunFromJar
-
+
diff --git a/Bomberman/doc/utils/class-use/SaveSystemService.html b/Bomberman/doc/utils/class-use/SaveSystemService.html
index 4255eab..806a22d 100644
--- a/Bomberman/doc/utils/class-use/SaveSystemService.html
+++ b/Bomberman/doc/utils/class-use/SaveSystemService.html
@@ -2,9 +2,9 @@
-
+
Uses of Class utils.SaveSystemService
-
+
diff --git a/Bomberman/doc/utils/package-frame.html b/Bomberman/doc/utils/package-frame.html
index cfb662b..a6c580a 100644
--- a/Bomberman/doc/utils/package-frame.html
+++ b/Bomberman/doc/utils/package-frame.html
@@ -2,9 +2,9 @@
-
+
utils
-
+
diff --git a/Bomberman/doc/utils/package-summary.html b/Bomberman/doc/utils/package-summary.html
index b7bcd71..936674b 100644
--- a/Bomberman/doc/utils/package-summary.html
+++ b/Bomberman/doc/utils/package-summary.html
@@ -2,9 +2,9 @@
-
+
utils
-
+
diff --git a/Bomberman/doc/utils/package-tree.html b/Bomberman/doc/utils/package-tree.html
index 1dcb25e..298d134 100644
--- a/Bomberman/doc/utils/package-tree.html
+++ b/Bomberman/doc/utils/package-tree.html
@@ -2,9 +2,9 @@
-
+
utils Class Hierarchy
-
+
@@ -79,7 +79,7 @@ Hierarchy For Package utils
Class Hierarchy
-- java.lang.Object
+
- java.lang.Object
- utils.Animation
- utils.ConvertTimeService
@@ -93,9 +93,9 @@ Class Hierarchy
Enum Hierarchy
-- java.lang.Object
+
- java.lang.Object
-- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
+
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
- utils.PaintService.TYPE
diff --git a/Bomberman/doc/utils/package-use.html b/Bomberman/doc/utils/package-use.html
index 7d080c0..f825324 100644
--- a/Bomberman/doc/utils/package-use.html
+++ b/Bomberman/doc/utils/package-use.html
@@ -2,9 +2,9 @@
-
+
Uses of Package utils
-
+
diff --git a/Bomberman/src/graphics/d3/SuperBomberman3D.java b/Bomberman/src/graphics/d3/SuperBomberman3D.java
index 788cc75..0175af9 100644
--- a/Bomberman/src/graphics/d3/SuperBomberman3D.java
+++ b/Bomberman/src/graphics/d3/SuperBomberman3D.java
@@ -1,3 +1,7 @@
+/**
+ * Main class for the 3D Game
+ */
+
package graphics.d3;
import java.util.Collection;
@@ -44,21 +48,34 @@
import logic.misc.Level;
import main.Game;
+/**
+ * @author Patricia Lazaro Tello (554309)
+ * @author Jaime Ruiz-Borau Vizarraga (546751)
+ */
public class SuperBomberman3D extends ApplicationAdapter implements ApplicationListener {
+ /**
+ * @param game
+ * 2DGame room
+ */
public SuperBomberman3D(graphics.rooms.game.Game game) {
room = game;
}
+ /**
+ * @param game
+ * 2DGame room
+ * @return a new desktop libgdx application that runs the 3D game
+ */
public static LwjglApplication main(graphics.rooms.game.Game game) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
- // config.forceExit = false;
config.height = Game.HEIGHT;
config.width = Game.WIDTH;
config.title = "Super Bomberman 3D";
return new LwjglApplication(new SuperBomberman3D(game), config);
}
+ /* attributes */
public PerspectiveCamera cam;
public CameraInputController camController;
public Thread calcs;
@@ -102,6 +119,9 @@ public void create() {
System.out.println("Finished creating things");
}
+ /**
+ * Initializes some variables
+ */
private void init() {
Level lvl = room.level;
xInitPlane = lvl.mapInitX;
@@ -116,6 +136,9 @@ private void init() {
initialPosition = new Vector3(xMid, 600, zMid);
}
+ /**
+ * Initializes the camera
+ */
private void camera() {
cam = new PerspectiveCamera(FIELD_OF_VIEW, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
cam.position.set(initialPosition);
@@ -128,6 +151,9 @@ private void camera() {
Gdx.input.setInputProcessor(camController);
}
+ /**
+ * Initializes the 3D models and instances them
+ */
private void models() {
modelBatch = new ModelBatch();
ModelBuilder mb = new ModelBuilder();
@@ -146,12 +172,20 @@ private void models() {
/* box */
boxModel = mb.createBox(width, height, width, new Material(ColorAttribute.createDiffuse(Color.YELLOW)),
Usage.Position | Usage.Normal);
+
+ /* destroyable */
destroyableModel = mb.createBox(width, height, width, new Material(ColorAttribute.createDiffuse(Color.GRAY)),
Usage.Position | Usage.Normal);
+
+ /* item */
itemModel = mb.createBox(width, height, width, new Material(ColorAttribute.createDiffuse(Color.OLIVE)),
Usage.Position | Usage.Normal);
+
+ /* bomb */
bombModel = mb.createBox(width, height, width, new Material(ColorAttribute.createDiffuse(Color.BROWN)),
Usage.Position | Usage.Normal);
+
+ /* explosion */
explosionModel = mb.createBox(width, height, width, new Material(ColorAttribute.createDiffuse(Color.CORAL)),
Usage.Position | Usage.Normal);
@@ -163,6 +197,7 @@ private void models() {
VertexAttributes.Usage.Position | VertexAttributes.Usage.TextureCoordinates);
plane = new ModelInstance(planeModel);
+ /* instances the objects of the 2D game room */
objetos = new HashMap<>();
for (Objeto obj : room.objetos) {
ModelInstance model = null;
@@ -199,6 +234,9 @@ private void models() {
}
}
+ /**
+ * Initializes the environment
+ */
private void environment() {
env = new Environment();
env.set(new ColorAttribute(ColorAttribute.AmbientLight, 0.2f, 0.2f, 0.2f, 1f));
@@ -220,13 +258,18 @@ public void render() {
modelBatch.end();
}
+ /**
+ * Updates objects' positions, destroy the objects that needs to be
+ * destroyed and creates the new ones
+ */
public void step() {
- /* move objects */
+ /* previous position */
Map lastPos = new HashMap<>();
for (Objeto obj : objetos.keySet()) {
lastPos.put(obj, new Point2D(obj.x, obj.y));
}
+ /* key handling */
KEY dir = KEY.NO_KEY;
KEY keyPressed = KEY.NO_KEY;
if (Gdx.input.isKeyPressed(Input.Keys.UP)) {
@@ -245,8 +288,10 @@ public void step() {
keyPressed = KEY.BOMB;
}
+ /* step of the 2D Game */
room.step(keyPressed, dir);
+ /* objects to be destroyed */
List destroy = new LinkedList();
for (Objeto obj : objetos.keySet()) {
if (!room.objetos.contains(obj)) {
@@ -257,6 +302,7 @@ public void step() {
objetos.remove(obj);
}
+ /* creates new objects */
for (Objeto obj : room.objetos) {
obj.render(null);
if (objetos.containsKey(obj)) {
@@ -283,6 +329,7 @@ public void step() {
}
}
+ /* updates objects' positions */
for (Map.Entry entry : objetos.entrySet()) {
Objeto key = entry.getKey();
ModelInstance value = entry.getValue();
@@ -292,7 +339,6 @@ public void step() {
value.transform.translate(key.x - last.getX(), 0, key.y - last.getY());
}
}
- /* end move objects */
if (room.state == STATE.DESTRUCTION || room.state == STATE.VICTORY) {
Gdx.app.exit();
diff --git a/Bomberman/src/logic/Objeto.java b/Bomberman/src/logic/Objeto.java
index e07ecb5..9f0e9cb 100644
--- a/Bomberman/src/logic/Objeto.java
+++ b/Bomberman/src/logic/Objeto.java
@@ -129,10 +129,10 @@ public void processKey(KEY key, KEY direction) {
public void render(Graphics g) {
if (sprite_index != null) {
int temp_image_index = animate();
- if(g != null){
+ if (g != null) {
g.drawImage(sprite_index.getSubsprites()[temp_image_index], x - sprite_index.getCenterX(),
y - sprite_index.getCenterY(), null);
-
+
if (Global.DEBUG && boundingBox != null) {
g.setColor(Color.red);
g.drawRect(boundingBox.getX(), boundingBox.getY(), boundingBox.getWidth(), boundingBox.getHeight());
@@ -142,6 +142,9 @@ public void render(Graphics g) {
}
}
+ /**
+ * @return previous animation index
+ */
public int animate() {
if (sprite_index != null) {
if (image_speed != 0 && (prev_sprite_index == null
@@ -159,8 +162,7 @@ public int animate() {
image_index = (image_index + image_speed) % sprite_index.getSubimages();
return temp_image_index;
- }
- else{
+ } else {
return -1;
}
}
diff --git a/Bomberman/src/logic/StatesMachine.java b/Bomberman/src/logic/StatesMachine.java
index 3fb23b3..5304ef7 100644
--- a/Bomberman/src/logic/StatesMachine.java
+++ b/Bomberman/src/logic/StatesMachine.java
@@ -122,7 +122,6 @@ public static void render(Graphics g) {
gameScreen.render(g);
break;
case GAME3D:
-// game3D.getGraphics().requestRendering();
break;
case PAUSE:
pauseScreen.render(g);
diff --git a/Bomberman/src/main/Game.java b/Bomberman/src/main/Game.java
index b4b8be2..566f0b8 100644
--- a/Bomberman/src/main/Game.java
+++ b/Bomberman/src/main/Game.java
@@ -176,6 +176,9 @@ public static void main(String[] args) {
game.start();
}
+ /**
+ * Reloads the key mapping
+ */
public void reloadMapping() {
input.reloadMapping();
}