Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
D
G
H
I
K
L
M
N
S
U
W
A
alreadyLoaded(String)
- Method in class gameutil.
ImageLoader
Tests to see if an image from a defined file name is already loaded.
B
background
- Variable in class gameutil.
GameComponent
D
delay
- Variable in class gameutil.
GameComponent
draw(Graphics)
- Method in class gameutil.
GameComponent
The method that draws the component.
draw(Graphics)
- Method in class gameutil.
ListeningGameComponent
The method that draws the component.
G
GameComponent
- Class in
gameutil
GameComponent(int, int)
- Constructor for class gameutil.
GameComponent
Constructs a GameComponent with a width of w, and a height of h.
gameutil
- package gameutil
getImage(String)
- Method in class gameutil.
ImageLoader
Loads an image from a given file name if it is not already loaded, and returns the image.
getImage(int)
- Method in class gameutil.
ImageLoader
Retrieves a loaded image at index i.
getImages()
- Method in class gameutil.
ImageLoader
Retrieves all of the loaded images.
getImages(int, int)
- Method in class gameutil.
ImageLoader
Retrieves a subset of all the previously loaded images.
getImages(ArrayList<String>)
- Method in class gameutil.
ImageLoader
Retrieves a group of images.
getKeysPressed()
- Method in class gameutil.
ListeningGameComponent
H
HEIGHT
- Static variable in class gameutil.
GameComponent
I
ImageLoader
- Class in
gameutil
The purpose of the ImageLoader is to be able to obtain multipul instances of an object without using extra RAM space.
ImageLoader()
- Constructor for class gameutil.
ImageLoader
Constructs an ImageLoader.
images
- Variable in class gameutil.
ImageLoader
isKeyPressed(String)
- Method in class gameutil.
ListeningGameComponent
Returns weather a mouse button is pressed.
isMousePressed(int)
- Method in class gameutil.
ListeningGameComponent
Returns weather a mouse button is pressed.
isMousePressed()
- Method in class gameutil.
ListeningGameComponent
Returns weather any mouse button is pressed.
K
keyPressed(KeyEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the keyboard variables.
keyReleased(KeyEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the keyboard variables.
keysPressed
- Variable in class gameutil.
ListeningGameComponent
keyTyped(KeyEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the keyboard variables.
L
ListeningGameComponent
- Class in
gameutil
ListeningGameComponent(int, int)
- Constructor for class gameutil.
ListeningGameComponent
Constructs a ListeningGameComponent with a width of w, and a height of h.
load(URL)
- Method in class gameutil.
ImageLoader
Loads an image from a given
URL
.
load(String)
- Method in class gameutil.
ImageLoader
Loads an image from a given file name.
M
makeFullScreenWindow()
- Method in class gameutil.
GameComponent
Creates a fullscreen
JFrame
that contains this GameComponent.
makeTestWindow()
- Method in class gameutil.
GameComponent
Creates a
JFrame
that contains this GameComponent.
mouseClicked(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Does nothing.
mouseDragged(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the mouse variables.
mouseEntered(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Does nothing.
mouseExited(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Does nothing.
mouseMoved(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the mouse variables.
mousePressed(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the mouse variables.
mousePressed1
- Variable in class gameutil.
ListeningGameComponent
mousePressed2
- Variable in class gameutil.
ListeningGameComponent
mousePressed3
- Variable in class gameutil.
ListeningGameComponent
mouseReleased(MouseEvent)
- Method in class gameutil.
ListeningGameComponent
Updates the mouse variables.
mouseX
- Variable in class gameutil.
ListeningGameComponent
The x location of the mouse.
mouseY
- Variable in class gameutil.
ListeningGameComponent
The y location of the mouse.
N
names
- Variable in class gameutil.
ImageLoader
S
standardDraw(Graphics)
- Method in class gameutil.
GameComponent
Draws the sandard parts of the component.
standardUpdates()
- Method in class gameutil.
GameComponent
Preforms the standard updates of the component.(Preformed befor
GameComponent.update()
)
U
update()
- Method in class gameutil.
GameComponent
The method that updates the component.
update()
- Method in class gameutil.
ListeningGameComponent
The method that updates the component.
W
WIDTH
- Static variable in class gameutil.
GameComponent
A
B
D
G
H
I
K
L
M
N
S
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes