Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
K
L
M
N
P
R
S
T
V
W
X
Y
G
gameSeed
- Static variable in class ca.townsends.games.evolution.
Evolution
seed to use for initializing randomizer
gameState
- Static variable in class ca.townsends.games.evolution.
Evolution
Current state of the game - what screen is displayed.
gameWindow
- Static variable in class ca.townsends.games.evolution.
Evolution
Handle to the single object instance
generation
- Variable in class ca.townsends.games.evolution.
Evolution.Animal
Generation of the animal (how many generations of ancestors it has).
getARGB(int, int, int, int)
- Static method in class ca.townsends.games.evolution.
Evolution
Convert colour elements to an ARGB value using bit-shifting.
getDirection()
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Gets the animal's direction in degrees.
getDirection()
- Method in class ca.townsends.games.evolution.
Evolution.Hazard
Returns the direction of the Hazard's modifying effect.
getDirectionAltered()
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Convenience method to return the animal's altered direction in degrees.
getPositionX()
- Method in class ca.townsends.games.evolution.
Evolution.Drawable
INT safe get X coordinate
getPositionY()
- Method in class ca.townsends.games.evolution.
Evolution.Drawable
INT safe get Y coordinate
getRand()
- Static method in class ca.townsends.games.evolution.
Evolution
Generates a random number between -1 and 1
getSight()
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Gets the animal's sight distance.
getSpeed()
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Returns the animal's speed, modified by it's speedFactor.
getSprite()
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Returns an array of the animal's sprite's pixels.
getSprite()
- Method in class ca.townsends.games.evolution.
Evolution.Drawable
Getter for the sprite (can be overridden)
getSpriteZoomed(int)
- Method in class ca.townsends.games.evolution.
Evolution.Animal
Returns an array of the animal's sprite's pixels, zoomed by the magnification factor.
getSpriteZoomed(int)
- Method in class ca.townsends.games.evolution.
Evolution.Drawable
Gets the sprite, magnified by magnificationFactor
getSpriteZoomed(int[], int)
- Method in class ca.townsends.games.evolution.
Evolution.Drawable
Gets the sprite, magnified by magnificationFactor
gr
- Static variable in class ca.townsends.games.evolution.
Evolution
graphics holder
growthLimit
- Static variable in class ca.townsends.games.evolution.
Evolution
limit to how fast plants can grow or die
growthRate
- Variable in class ca.townsends.games.evolution.
Evolution.Plant
Rate of growth of the plant.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
K
L
M
N
P
R
S
T
V
W
X
Y