<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_21) on Tue Jul 19 16:13:42 EDT 2011 -->
<TITLE>
D-Index
</TITLE>
<META NAME="date" CONTENT="2011-07-19">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="D-Index";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index-3.html"><B>PREV LETTER</B></A>
<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">H</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">R</A> <A HREF="index-15.html">S</A> <A HREF="index-16.html">T</A> <A HREF="index-17.html">V</A> <A HREF="index-18.html">W</A> <A HREF="index-19.html">X</A> <A HREF="index-20.html">Y</A> <HR>
<A NAME="_D_"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Animal.html#defaultSprite()"><B>defaultSprite()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Animal.html" title="class in ca.townsends.games.evolution">Evolution.Animal</A>
<DD>Returns an array containing the default sprite.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#deltaPosition(double, double)"><B>deltaPosition(double, double)</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Finds the position, in x and y coordinates, if travelling the given distance in the given direction.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Animal.html#die()"><B>die()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Animal.html" title="class in ca.townsends.games.evolution">Evolution.Animal</A>
<DD>Kills the animal.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html#die()"><B>die()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html" title="class in ca.townsends.games.evolution">Evolution.Drawable</A>
<DD>Wipe the sprite.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html#die()"><B>die()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html" title="class in ca.townsends.games.evolution">Evolution.Hazard</A>
<DD>Override die() so we can remove this from the hazards list.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Plant.html#die()"><B>die()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Plant.html" title="class in ca.townsends.games.evolution">Evolution.Plant</A>
<DD>Kills the plant.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Animal.html#direction"><B>direction</B></A> -
Variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Animal.html" title="class in ca.townsends.games.evolution">Evolution.Animal</A>
<DD>Direction in radians.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html#direction"><B>direction</B></A> -
Variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html" title="class in ca.townsends.games.evolution">Evolution.Hazard</A>
<DD>Direction, in radians, of this hazard's effect.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Animal.html#directionAltered"><B>directionAltered</B></A> -
Variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Animal.html" title="class in ca.townsends.games.evolution">Evolution.Animal</A>
<DD>Changed direction, in radians
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#doInitialHazards()"><B>doInitialHazards()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Load up the inital set of hazards.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#doInitialSpawn()"><B>doInitialSpawn()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Spawn up the initial set of animals
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#doPaint"><B>doPaint</B></A> -
Static variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>flag to indicate if the screen should be painted,
no reason to paint the screen if nothing is changing
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#doResize"><B>doResize</B></A> -
Static variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>flag to indicate if the frame was resized since the last draw
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#doWipe"><B>doWipe</B></A> -
Static variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>flag to indicate if the sprites should be wiped (undrawn) when they move or die
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#drawSplash(java.lang.String)"><B>drawSplash(String)</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Draws the splash screen, with the menu of commands.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Animal.html#drawSprite(int, int, int[])"><B>drawSprite(int, int, int[])</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Animal.html" title="class in ca.townsends.games.evolution">Evolution.Animal</A>
<DD>Draw's the sprite onto a pixel array.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html#drawSprite()"><B>drawSprite()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html" title="class in ca.townsends.games.evolution">Evolution.Drawable</A>
<DD>Overload for drawSprite, using the current position and default pixel array
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html#drawSprite(int[])"><B>drawSprite(int[])</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html" title="class in ca.townsends.games.evolution">Evolution.Drawable</A>
<DD>Overload for drawSprite, using the current position
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html#drawSprite(int, int, int[])"><B>drawSprite(int, int, int[])</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Drawable.html" title="class in ca.townsends.games.evolution">Evolution.Drawable</A>
<DD>Draw the sprite at the specified position.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html#drawSprite()"><B>drawSprite()</B></A> -
Method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.Hazard.html" title="class in ca.townsends.games.evolution">Evolution.Hazard</A>
<DD>Override drawSprite() so we can set the hazard into the background pixels
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#drawStats()"><B>drawStats()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Draws the animal statistics screen.
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#dropHazard(int)"><B>dropHazard(int)</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Drops a hazard at the current mouse location
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#droppedHazards"><B>droppedHazards</B></A> -
Static variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>List of all hazards dropped during this iteration
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#droppedPlants"><B>droppedPlants</B></A> -
Static variable in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>List of all plants dropped during this iteration
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#dropPlant()"><B>dropPlant()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Drops a plant at the current mouse location
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#dropPointX()"><B>dropPointX()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Calculates the x-coord of the drop point on the playing field, based on the mouse position
<DT><A HREF="../ca/townsends/games/evolution/Evolution.html#dropPointY()"><B>dropPointY()</B></A> -
Static method in class ca.townsends.games.evolution.<A HREF="../ca/townsends/games/evolution/Evolution.html" title="class in ca.townsends.games.evolution">Evolution</A>
<DD>Calculates the y-coord of the drop point on the playing field, based on the mouse position
</DL>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index-3.html"><B>PREV LETTER</B></A>
<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>
<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">G</A> <A HREF="index-7.html">H</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">K</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">R</A> <A HREF="index-15.html">S</A> <A HREF="index-16.html">T</A> <A HREF="index-17.html">V</A> <A HREF="index-18.html">W</A> <A HREF="index-19.html">X</A> <A HREF="index-20.html">Y</A> <HR>
</BODY>
</HTML>