Menu

[r42]: / trunk / javadoc / index-files / index-4.html  Maximize  Restore  History

Download this file

223 lines (204 with data), 15.6 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../ca/townsends/games/evolution/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-3.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<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> &nbsp;
&nbsp;<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.