first commit
This commit is contained in:
@@ -0,0 +1,832 @@
|
||||
<!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>
|
||||
LevelData
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="edu.gatech.cs2335.lemmings.engine.LevelData class">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="LevelData";
|
||||
}
|
||||
</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/Level.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelEntrance.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="LevelData.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 LevelData</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>edu.gatech.cs2335.lemmings.engine.LevelData</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>LevelData</B><DT>extends java.lang.Object</DL>
|
||||
|
||||
<P>
|
||||
This class contains the data associated with a certain level. It is
|
||||
essentially your template to create playable levels.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD><A HREF="mailto:gtg308i@mail.gatech.edu">Vladimir Urazov</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/LevelData.html#LevelData()">LevelData</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new <code>LevelData</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/LevelData.html#addJob(java.lang.String, int)">addJob</A></B>(java.lang.String idd,
|
||||
int num)</CODE>
|
||||
|
||||
<BR>
|
||||
Adds the number of jobs for the appropriate job id for the level.</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/LevelData.html#addPortal(java.lang.String, java.lang.String)">addPortal</A></B>(java.lang.String type,
|
||||
java.lang.String value)</CODE>
|
||||
|
||||
<BR>
|
||||
Describe <code>addPortal</code> method here.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.Point</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getEntrancePoint()">getEntrancePoint</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the value of entrancePoint.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.Point</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getExitPoint()">getExitPoint</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the value of exitPoint.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getId()">getId</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the id property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.util.Map</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getJobMap()">getJobMap</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the job map.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getName()">getName</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the name property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getNumJobs(java.lang.String)">getNumJobs</A></B>(java.lang.String idd)</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the number of jobs of the specified type for this level.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getNumLemmings()">getNumLemmings</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the numLemmings property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getPercentToSave()">getPercentToSave</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the percentToSave property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.util.List</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getPortals()">getPortals</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Describe <code>getPortals</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/LevelData.html#getThumbnail()">getThumbnail</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the thumbnail property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> long</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getTimeLimit()">getTimeLimit</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Access method for the timeLimit property.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#getWaterLevel()">getWaterLevel</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the value of waterLevel.</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/LevelData.html#setEntrancePoint(int, int)">setEntrancePoint</A></B>(int x,
|
||||
int y)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the value of entrancePoint.</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/LevelData.html#setEntrancePoint(java.awt.Point)">setEntrancePoint</A></B>(java.awt.Point v)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the value of entrancePoint.</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/LevelData.html#setExitPoint(int, int)">setExitPoint</A></B>(int x,
|
||||
int y)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the value of exitPoint.</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/LevelData.html#setExitPoint(java.awt.Point)">setExitPoint</A></B>(java.awt.Point v)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the value of exitPoint.</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/LevelData.html#setId(java.lang.String)">setId</A></B>(java.lang.String aId)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the id 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/LevelData.html#setJobMap(java.util.Map)">setJobMap</A></B>(java.util.Map jm)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the job map</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/LevelData.html#setName(java.lang.String)">setName</A></B>(java.lang.String aName)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the name 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/LevelData.html#setNumLemmings(int)">setNumLemmings</A></B>(int aNumLemmings)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the numLemmings 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/LevelData.html#setPercentToSave(int)">setPercentToSave</A></B>(int aPercentToSave)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the percentToSave 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/LevelData.html#setThumbnail(java.awt.image.BufferedImage)">setThumbnail</A></B>(java.awt.image.BufferedImage aThumbnail)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the thumbnail 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/LevelData.html#setTimeLimit(long)">setTimeLimit</A></B>(long aTimeLimit)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the value of the timeLimit 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/LevelData.html#setWaterLevel(int)">setWaterLevel</A></B>(int v)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the value of waterLevel.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelData.html#toString()">toString</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the string representation of the level.</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, 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="LevelData()"><!-- --></A><H3>
|
||||
LevelData</H3>
|
||||
<PRE>
|
||||
public <B>LevelData</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new <code>LevelData</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="getThumbnail()"><!-- --></A><H3>
|
||||
getThumbnail</H3>
|
||||
<PRE>
|
||||
public java.awt.image.BufferedImage <B>getThumbnail</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the thumbnail property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the thumbnail property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setThumbnail(java.awt.image.BufferedImage)"><!-- --></A><H3>
|
||||
setThumbnail</H3>
|
||||
<PRE>
|
||||
public void <B>setThumbnail</B>(java.awt.image.BufferedImage aThumbnail)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the thumbnail property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aThumbnail</CODE> - the new value of the thumbnail property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getName()"><!-- --></A><H3>
|
||||
getName</H3>
|
||||
<PRE>
|
||||
public java.lang.String <B>getName</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the name property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the name property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
||||
setName</H3>
|
||||
<PRE>
|
||||
public void <B>setName</B>(java.lang.String aName)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the name property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aName</CODE> - the new value of the name property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getId()"><!-- --></A><H3>
|
||||
getId</H3>
|
||||
<PRE>
|
||||
public java.lang.String <B>getId</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the id property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the id property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setId(java.lang.String)"><!-- --></A><H3>
|
||||
setId</H3>
|
||||
<PRE>
|
||||
public void <B>setId</B>(java.lang.String aId)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the id property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aId</CODE> - the new value of the id property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getNumLemmings()"><!-- --></A><H3>
|
||||
getNumLemmings</H3>
|
||||
<PRE>
|
||||
public int <B>getNumLemmings</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the numLemmings property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the numLemmings property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setNumLemmings(int)"><!-- --></A><H3>
|
||||
setNumLemmings</H3>
|
||||
<PRE>
|
||||
public void <B>setNumLemmings</B>(int aNumLemmings)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the numLemmings property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aNumLemmings</CODE> - the new value of the numLemmings property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getPercentToSave()"><!-- --></A><H3>
|
||||
getPercentToSave</H3>
|
||||
<PRE>
|
||||
public int <B>getPercentToSave</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the percentToSave property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the percentToSave property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setPercentToSave(int)"><!-- --></A><H3>
|
||||
setPercentToSave</H3>
|
||||
<PRE>
|
||||
public void <B>setPercentToSave</B>(int aPercentToSave)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the percentToSave property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aPercentToSave</CODE> - the new value of the percentToSave property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getTimeLimit()"><!-- --></A><H3>
|
||||
getTimeLimit</H3>
|
||||
<PRE>
|
||||
public long <B>getTimeLimit</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Access method for the timeLimit property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the current value of the timeLimit property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setTimeLimit(long)"><!-- --></A><H3>
|
||||
setTimeLimit</H3>
|
||||
<PRE>
|
||||
public void <B>setTimeLimit</B>(long aTimeLimit)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the value of the timeLimit property.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>aTimeLimit</CODE> - the new value of the timeLimit property</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getEntrancePoint()"><!-- --></A><H3>
|
||||
getEntrancePoint</H3>
|
||||
<PRE>
|
||||
public java.awt.Point <B>getEntrancePoint</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the value of entrancePoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>value of entrancePoint.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setEntrancePoint(java.awt.Point)"><!-- --></A><H3>
|
||||
setEntrancePoint</H3>
|
||||
<PRE>
|
||||
public void <B>setEntrancePoint</B>(java.awt.Point v)</PRE>
|
||||
<DL>
|
||||
<DD>Set the value of entrancePoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to entrancePoint.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setEntrancePoint(int, int)"><!-- --></A><H3>
|
||||
setEntrancePoint</H3>
|
||||
<PRE>
|
||||
public void <B>setEntrancePoint</B>(int x,
|
||||
int y)</PRE>
|
||||
<DL>
|
||||
<DD>Set the value of entrancePoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>x</CODE> - an <code>int</code> value<DD><CODE>y</CODE> - an <code>int</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getExitPoint()"><!-- --></A><H3>
|
||||
getExitPoint</H3>
|
||||
<PRE>
|
||||
public java.awt.Point <B>getExitPoint</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the value of exitPoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>value of exitPoint.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setExitPoint(java.awt.Point)"><!-- --></A><H3>
|
||||
setExitPoint</H3>
|
||||
<PRE>
|
||||
public void <B>setExitPoint</B>(java.awt.Point v)</PRE>
|
||||
<DL>
|
||||
<DD>Set the value of exitPoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to exitPoint.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setExitPoint(int, int)"><!-- --></A><H3>
|
||||
setExitPoint</H3>
|
||||
<PRE>
|
||||
public void <B>setExitPoint</B>(int x,
|
||||
int y)</PRE>
|
||||
<DL>
|
||||
<DD>Set the value of exitPoint.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>x</CODE> - an <code>int</code> value<DD><CODE>y</CODE> - an <code>int</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getWaterLevel()"><!-- --></A><H3>
|
||||
getWaterLevel</H3>
|
||||
<PRE>
|
||||
public int <B>getWaterLevel</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the value of waterLevel.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>value of waterLevel.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setWaterLevel(int)"><!-- --></A><H3>
|
||||
setWaterLevel</H3>
|
||||
<PRE>
|
||||
public void <B>setWaterLevel</B>(int v)</PRE>
|
||||
<DL>
|
||||
<DD>Set the value of waterLevel. Note that -1 is a magic value which
|
||||
means there is no water on the level. Other negative numbers will
|
||||
be ABSed before application.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to waterLevel.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="addJob(java.lang.String, int)"><!-- --></A><H3>
|
||||
addJob</H3>
|
||||
<PRE>
|
||||
public void <B>addJob</B>(java.lang.String idd,
|
||||
int num)</PRE>
|
||||
<DL>
|
||||
<DD>Adds the number of jobs for the appropriate job id for the level.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>idd</CODE> - a <code>String</code> value<DD><CODE>num</CODE> - an <code>int</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getNumJobs(java.lang.String)"><!-- --></A><H3>
|
||||
getNumJobs</H3>
|
||||
<PRE>
|
||||
public int <B>getNumJobs</B>(java.lang.String idd)</PRE>
|
||||
<DL>
|
||||
<DD>Returns the number of jobs of the specified type for this level.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>idd</CODE> - a <code>String</code> value
|
||||
<DT><B>Returns:</B><DD>an <code>int</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getJobMap()"><!-- --></A><H3>
|
||||
getJobMap</H3>
|
||||
<PRE>
|
||||
public java.util.Map <B>getJobMap</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the job map.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>a <code>Map</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setJobMap(java.util.Map)"><!-- --></A><H3>
|
||||
setJobMap</H3>
|
||||
<PRE>
|
||||
public void <B>setJobMap</B>(java.util.Map jm)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the job map
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>jm</CODE> - , map of jobs to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getPortals()"><!-- --></A><H3>
|
||||
getPortals</H3>
|
||||
<PRE>
|
||||
public java.util.List <B>getPortals</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Describe <code>getPortals</code> method here.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>a <code>List</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="addPortal(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
||||
addPortal</H3>
|
||||
<PRE>
|
||||
public void <B>addPortal</B>(java.lang.String type,
|
||||
java.lang.String value)</PRE>
|
||||
<DL>
|
||||
<DD>Describe <code>addPortal</code> method here.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>type</CODE> - a <code>String</code> value<DD><CODE>value</CODE> - a <code>String</code> value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="toString()"><!-- --></A><H3>
|
||||
toString</H3>
|
||||
<PRE>
|
||||
public java.lang.String <B>toString</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the string representation of the level.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>a <code>String</code> value</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/Level.html" title="class in edu.gatech.cs2335.lemmings.engine"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/LevelEntrance.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="LevelData.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