A B C D E G H I K L M N P R S T V W X Y

S

sanitizeProperties() - Method in class ca.townsends.games.evolution.Evolution.Animal
Sanitize the animal's properties so that they stay within either the range specified by the game settings, or a sane default range.
scanForAVisibleHazard() - Method in class ca.townsends.games.evolution.Evolution.Animal
Try to find a hazard within sight-range of the animal.
scanForAVisiblePlant() - Method in class ca.townsends.games.evolution.Evolution.Animal
Try to find a plant within the sight-range of the animal.
scanForHazards(double, double) - Method in class ca.townsends.games.evolution.Evolution.Animal
Find all hazards either touching the animal (dX = 0, dY = 0), or else within a given range of the animal.
scanForPlants() - Method in class ca.townsends.games.evolution.Evolution.Animal
Find all plants touching the animal, and eat them.
screenshotCompressionRatio - Static variable in class ca.townsends.games.evolution.Evolution
image compression ratio for screenshots
screenshotDirectory - Static variable in class ca.townsends.games.evolution.Evolution
directory in which to put screenshots
screenshotInterval - Static variable in class ca.townsends.games.evolution.Evolution
iteration to automatically take screenshots
screenshotType - Static variable in class ca.townsends.games.evolution.Evolution
image type for screenshots
serialVersionUID - Static variable in class ca.townsends.games.evolution.Evolution.EvolutionJFrame
Serial version (just a GUID, really)
setDirection(int) - Method in class ca.townsends.games.evolution.Evolution.Animal
Sets the animal's direction.
setDirection(int) - Method in class ca.townsends.games.evolution.Evolution.Hazard
Set the direction of the Hazard's modifying effect.
setDirectionAltered(Double) - Method in class ca.townsends.games.evolution.Evolution.Animal
Convenience method to set the animal's altered direction.
setPositionX(double) - Method in class ca.townsends.games.evolution.Evolution.Animal
Sets the X position, to a higher precision than single pixels.
setPositionX(int) - Method in class ca.townsends.games.evolution.Evolution.Drawable
INT safe set X coordinate
setPositionY(double) - Method in class ca.townsends.games.evolution.Evolution.Animal
Sets the Y position, to a higher precision than single pixels.
setPositionY(int) - Method in class ca.townsends.games.evolution.Evolution.Drawable
INT safe set Y coordinate
setSprite(int[]) - Method in class ca.townsends.games.evolution.Evolution.Drawable
Setter for the sprite (can be overridden)
setSprite() - Method in class ca.townsends.games.evolution.Evolution.Plant
Creates the sprite array for a plant.
setUpBuffers() - Static method in class ca.townsends.games.evolution.Evolution
Set up the buffers, using the window size information and the background image
sight - Variable in class ca.townsends.games.evolution.Evolution.Animal
Distance (in pixels) that the animal can see.
sightCanEvolve - Variable in class ca.townsends.games.evolution.Evolution.Animal
Whether the sight can evolve.
sightFactor - Variable in class ca.townsends.games.evolution.Evolution.Animal
Multiplier for the sight; this is changed by Hazards.
sightLimit - Static variable in class ca.townsends.games.evolution.Evolution
limit for the sight of animals
sleepTime - Static variable in class ca.townsends.games.evolution.Evolution
interval that the main thread sleeps for during iterations
spawn() - Method in class ca.townsends.games.evolution.Evolution.Animal
Spawn children.
spawnCanEvolve - Variable in class ca.townsends.games.evolution.Evolution.Animal
Whether the spawning attributes can evolve.
spawnChildren - Variable in class ca.townsends.games.evolution.Evolution.Animal
Number of children spawned each time.
spawnChildrenLimit - Static variable in class ca.townsends.games.evolution.Evolution
limit for the number of children that can be spawned at once
spawnLife - Variable in class ca.townsends.games.evolution.Evolution.Animal
Life threshold at which the animal spawns.
spawns - Variable in class ca.townsends.games.evolution.Evolution.Animal
Number of times the animal has spawned.
species - Variable in class ca.townsends.games.evolution.Evolution.Animal
Descriptive Species Name of the animal.
speciesPath - Static variable in class ca.townsends.games.evolution.Evolution
path to species definitions, using ResourceBundle naming (ie: "species\hunters\canines\" would be "species.hunters.canines.")
speciesStats - Static variable in class ca.townsends.games.evolution.Evolution
Statistics
speed - Variable in class ca.townsends.games.evolution.Evolution.Animal
Speed (in pixels/iteration) of the animal when moving.
speedCanEvolve - Variable in class ca.townsends.games.evolution.Evolution.Animal
Whether the speed can evolve.
speedFactor - Variable in class ca.townsends.games.evolution.Evolution.Animal
Multiplier for the speed; this is changed by Hazards.
speedLimit - Static variable in class ca.townsends.games.evolution.Evolution
limit for the movement speed of animals
splitARGB(int) - Static method in class ca.townsends.games.evolution.Evolution
Convert an ARGB int into it's component parts using bit-masking
sprite - Variable in class ca.townsends.games.evolution.Evolution.Drawable
Item's sprite as an array of pixels
spriteCanEvolve - Variable in class ca.townsends.games.evolution.Evolution.Animal
Whether the sprite can evolve.
spriteHeight - Static variable in class ca.townsends.games.evolution.Evolution
height of sprites
spritesClicked(int, int) - Method in class ca.townsends.games.evolution.Evolution
Returns a list of all sprites (animals, plants, hazards) the user clicked on.
spritesOverlap(int, int, int, int, int, int) - Static method in class ca.townsends.games.evolution.Evolution
Calculate if two sprites overlap, based on their upper left corner.
spriteStatsZoom - Static variable in class ca.townsends.games.evolution.Evolution
default zoom level for sprites on Stats screen
spriteWidth - Static variable in class ca.townsends.games.evolution.Evolution
width of sprites
stopped - Variable in class ca.townsends.games.evolution.Evolution.Animal
Whether the animal is stopped.
strength - Variable in class ca.townsends.games.evolution.Evolution.Hazard
Strength of this hazard's effect.

A B C D E G H I K L M N P R S T V W X Y