Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
P
R
S
T
V
W
X
Y
D
defaultSprite()
- Method in class
Evolution.Animal
deltaPosition(double, double)
- Static method in class
Evolution
die()
- Method in class
Evolution.Animal
die()
- Method in class
Evolution.Drawable
die()
- Method in class
Evolution.Hazard
die()
- Method in class
Evolution.Plant
direction
- Variable in class
Evolution.Animal
Direction in radians
direction
- Variable in class
Evolution.Hazard
directionAltered
- Variable in class
Evolution.Animal
doInitialHazards()
- Static method in class
Evolution
Load up the inital set of hazards.
doInitialSpawn()
- Static method in class
Evolution
Spawn up the initial set of animals
doPaint
- Static variable in class
Evolution
flag to indicate if the screen should be painted, no reason to paint the screen if nothing is changing
doResize
- Static variable in class
Evolution
flag to indicate if the frame was resized since the last draw
doWipe
- Static variable in class
Evolution
flag to indicate if the sprites should be wiped (undrawn) when they move or die
drawSplash()
- Static method in class
Evolution
Draws the splash screen, with the menu of commands.
drawSprite(int, int, int[])
- Method in class
Evolution.Animal
drawSprite()
- Method in class
Evolution.Drawable
Overload for drawSprite, using the current position and default pixel array
drawSprite(int[])
- Method in class
Evolution.Drawable
Overload for drawSprite, using the current position
drawSprite(int, int, int[])
- Method in class
Evolution.Drawable
Draw the sprite at the specified position.
drawSprite()
- Method in class
Evolution.Hazard
Override drawSprite() so we can set the hazard into the background pixels
dropHazard(int)
- Static method in class
Evolution
Drops a hazard at the current mouse location
droppedHazards
- Static variable in class
Evolution
List of all hazards dropped during this iteration
droppedPlants
- Static variable in class
Evolution
List of all plants dropped during this iteration
dropPointX()
- Static method in class
Evolution
Calculates the x-coord of the drop point on the playing field, based on the mouse position
dropPointY()
- Static method in class
Evolution
Calculates the y-coord of the drop point on the playing field, based on the mouse position
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
P
R
S
T
V
W
X
Y