first commit
This commit is contained in:
@@ -0,0 +1,595 @@
|
||||
<!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.4.2_03) on Fri Apr 23 12:22:22 EDT 2004 -->
|
||||
<TITLE>
|
||||
Map
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="edu.gatech.cs2335.lemmings.engine.Map class">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Map";
|
||||
}
|
||||
</SCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
|
||||
|
||||
<!-- ========= 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=3 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="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </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="../../../../../edu/gatech/cs2335/lemmings/engine/MainMenuState.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/MapSettings.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Map.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>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
edu.gatech.cs2335.lemmings.engine</FONT>
|
||||
<BR>
|
||||
Class Map</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>edu.gatech.cs2335.lemmings.engine.Map</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Map</B><DT>extends java.lang.Object</DL>
|
||||
|
||||
<P>
|
||||
The map on which stuff will be happening.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD><A HREF="mailto:gtg308i@mail.gatech.edu">Vladimir Urazov</A>, <A HREF="mailto:gtg184g@mail.gatech.edu">Jose Caban</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#Map()">Map</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new <code>Map</code> instance.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#addShape(java.awt.Shape, java.awt.Color)">addShape</A></B>(java.awt.Shape shape,
|
||||
java.awt.Color color)</CODE>
|
||||
|
||||
<BR>
|
||||
When someone creates something on the map, the thing will be
|
||||
added to the map.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#createGameMap()">createGameMap</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
This will create a Game Map for use in drawing to screen.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getBackground()">getBackground</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the background property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getGameMap()">getGameMap</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Describe <code>getGameMap</code> method here.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getMap()">getMap</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the map property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.Dimension</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getSize()">getSize</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the size property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getTexture()">getTexture</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the texture property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.image.BufferedImage</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getUnbreakableTexture()">getUnbreakableTexture</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Method getUnbreakableTexture</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/AnimatedSprite.html" title="class in edu.gatech.cs2335.lemmings.graphics">AnimatedSprite</A></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#getWaterAnimation()">getWaterAnimation</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the water animation.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Main</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#setBackground(java.awt.image.BufferedImage)">setBackground</A></B>(java.awt.image.BufferedImage aBackground)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the background property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#setMap(java.awt.image.BufferedImage)">setMap</A></B>(java.awt.image.BufferedImage aMap)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the map property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#setTexture(java.awt.image.BufferedImage)">setTexture</A></B>(java.awt.image.BufferedImage aTexture)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the texture property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#setUnbreakableTexture(java.awt.image.BufferedImage)">setUnbreakableTexture</A></B>(java.awt.image.BufferedImage unbreakableTexture)</CODE>
|
||||
|
||||
<BR>
|
||||
Method setUnbreakableTexture</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#setWaterAnimation(edu.gatech.cs2335.lemmings.graphics.TileSet)">setWaterAnimation</A></B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/TileSet.html" title="class in edu.gatech.cs2335.lemmings.graphics">TileSet</A> set)</CODE>
|
||||
|
||||
<BR>
|
||||
Describe <code>setWaterAnimation</code> method here.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Map.html#subtractShape(java.awt.Shape)">subtractShape</A></B>(java.awt.Shape shape)</CODE>
|
||||
|
||||
<BR>
|
||||
When something explodes, digs, or mines, some part of the map can
|
||||
be destroyed.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=1><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Map()"><!-- --></A><H3>
|
||||
Map</H3>
|
||||
<PRE>
|
||||
public <B>Map</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new <code>Map</code> instance.
|
||||
<P>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=1><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getBackground()"><!-- --></A><H3>
|
||||
getBackground</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getBackground</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the background property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the background property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setBackground(java.awt.image.BufferedImage)"><!-- --></A><H3>
|
||||
setBackground</H3>
|
||||
<PRE>
|
||||
public void <B>setBackground</B>(java.awt.image.BufferedImage aBackground)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the background property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aBackground</CODE> - the new value of the background property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getTexture()"><!-- --></A><H3>
|
||||
getTexture</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getTexture</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the texture property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the texture property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setTexture(java.awt.image.BufferedImage)"><!-- --></A><H3>
|
||||
setTexture</H3>
|
||||
<PRE>
|
||||
public void <B>setTexture</B>(java.awt.image.BufferedImage aTexture)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the texture property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aTexture</CODE> - the new value of the texture property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setUnbreakableTexture(java.awt.image.BufferedImage)"><!-- --></A><H3>
|
||||
setUnbreakableTexture</H3>
|
||||
<PRE>
|
||||
public void <B>setUnbreakableTexture</B>(java.awt.image.BufferedImage unbreakableTexture)</PRE>
|
||||
<DL>
|
||||
<DD>Method setUnbreakableTexture
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>unbreakableTexture</CODE> - ub</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getUnbreakableTexture()"><!-- --></A><H3>
|
||||
getUnbreakableTexture</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getUnbreakableTexture</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Method getUnbreakableTexture
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>BufferedImage</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getMap()"><!-- --></A><H3>
|
||||
getMap</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getMap</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the map property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the map property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setMap(java.awt.image.BufferedImage)"><!-- --></A><H3>
|
||||
setMap</H3>
|
||||
<PRE>
|
||||
public void <B>setMap</B>(java.awt.image.BufferedImage aMap)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the map property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aMap</CODE> - the new value of the map property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getGameMap()"><!-- --></A><H3>
|
||||
getGameMap</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getGameMap</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Describe <code>getGameMap</code> method here.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>a <code>BufferedImage</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getSize()"><!-- --></A><H3>
|
||||
getSize</H3>
|
||||
<PRE>
|
||||
public java.awt.Dimension <B>getSize</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the size property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the size property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getWaterAnimation()"><!-- --></A><H3>
|
||||
getWaterAnimation</H3>
|
||||
<PRE>
|
||||
public <A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/AnimatedSprite.html" title="class in edu.gatech.cs2335.lemmings.graphics">AnimatedSprite</A> <B>getWaterAnimation</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the water animation.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>an <code>AnimatedSprite</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setWaterAnimation(edu.gatech.cs2335.lemmings.graphics.TileSet)"><!-- --></A><H3>
|
||||
setWaterAnimation</H3>
|
||||
<PRE>
|
||||
public void <B>setWaterAnimation</B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/TileSet.html" title="class in edu.gatech.cs2335.lemmings.graphics">TileSet</A> set)</PRE>
|
||||
<DL>
|
||||
<DD>Describe <code>setWaterAnimation</code> method here.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>set</CODE> - a <code>TileSet</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="createGameMap()"><!-- --></A><H3>
|
||||
createGameMap</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>createGameMap</B>()</PRE>
|
||||
<DL>
|
||||
<DD>This will create a Game Map for use in drawing to screen.
|
||||
Parses the Mask and Texture File to spit out a map.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the new gameMap to draw to screen.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="addShape(java.awt.Shape, java.awt.Color)"><!-- --></A><H3>
|
||||
addShape</H3>
|
||||
<PRE>
|
||||
public void <B>addShape</B>(java.awt.Shape shape,
|
||||
java.awt.Color color)</PRE>
|
||||
<DL>
|
||||
<DD>When someone creates something on the map, the thing will be
|
||||
added to the map. Use this method.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to add to the map.<DD><CODE>color</CODE> - The color of the shape</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="subtractShape(java.awt.Shape)"><!-- --></A><H3>
|
||||
subtractShape</H3>
|
||||
<PRE>
|
||||
public void <B>subtractShape</B>(java.awt.Shape shape)</PRE>
|
||||
<DL>
|
||||
<DD>When something explodes, digs, or mines, some part of the map can
|
||||
be destroyed. This is where this function is called. The shape
|
||||
passed in is what will be removed from the map. Note that only
|
||||
"diggable" elements will be removed. The undiggable ones will
|
||||
still persist.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>shape</CODE> - The shape to remove from the map.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
|
||||
main</H3>
|
||||
<PRE>
|
||||
public static void <B>main</B>(java.lang.String[] args)</PRE>
|
||||
<DL>
|
||||
<DD>Main
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>args</CODE> - args</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<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=3 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="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </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="../../../../../edu/gatech/cs2335/lemmings/engine/MainMenuState.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/MapSettings.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Map.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>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user