first commit

This commit is contained in:
Jose Caban
2025-06-07 01:59:34 -04:00
commit 388ac241f0
3558 changed files with 9116289 additions and 0 deletions

View File

@@ -0,0 +1,808 @@
<!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:23 EDT 2004 -->
<TITLE>
Renderer
</TITLE>
<META NAME="keywords" CONTENT="edu.gatech.cs2335.lemmings.graphics.Renderer class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Renderer";
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&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="../../../../../edu/gatech/cs2335/lemmings/graphics/Looping.html" title="class in edu.gatech.cs2335.lemmings.graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/TileSet.html" title="class in edu.gatech.cs2335.lemmings.graphics"><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> &nbsp;
&nbsp;<A HREF="Renderer.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>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.graphics</FONT>
<BR>
Class Renderer</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>edu.gatech.cs2335.lemmings.graphics.Renderer</B>
</PRE>
<HR>
<DL>
<DT>public final class <B>Renderer</B><DT>extends java.lang.Object</DL>
<P>
The Lemmings Renderer
Takes care of drawing stuff to screen
<P>
<P>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#DEBUG">DEBUG</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Display a lot of debug information?</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#VERBOSE">VERBOSE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Display debug information?</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/graphics/Renderer.html#Renderer(edu.gatech.cs2335.lemmings.engine.Level, java.awt.Rectangle)">Renderer</A></B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A>&nbsp;l,
java.awt.Rectangle&nbsp;disp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new <code>Renderer</code> instance.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#calculateWaterLevel()">calculateWaterLevel</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Once the level has been set, calculates how water needs to be drawn.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getDisplay()">getDisplay</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of display.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getLevel()">getLevel</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of level.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Dimension</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getMapSize()">getMapSize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of mapSize.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getMapViewPort()">getMapViewPort</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessor for renderer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Point</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getMouseCoordinates()">getMouseCoordinates</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describe <code>getMouseCoordinates</code> method here.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Point</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getScrollRate()">getScrollRate</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describe <code>getScrollRate</code> method here.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Lemming.html" title="class in edu.gatech.cs2335.lemmings.engine">Lemming</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getSelectedLemming()">getSelectedLemming</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describe <code>getSelectedLemming</code> method here.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#getZoomFactor()">getZoomFactor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of zoomFactor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Point</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#mouseToWorld(java.awt.Point)">mouseToWorld</A></B>(java.awt.Point&nbsp;c)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts mouse coordinates to world coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#rerenderTerrain()">rerenderTerrain</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rerenders the terrain.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#scroll(java.awt.Point)">scroll</A></B>(java.awt.Point&nbsp;offset)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scroll the map by offset in the x-y directions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#setDisplay(java.awt.Rectangle)">setDisplay</A></B>(java.awt.Rectangle&nbsp;v)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of display.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#setLevel(edu.gatech.cs2335.lemmings.engine.Level)">setLevel</A></B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A>&nbsp;v)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of level.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#setMapSize(java.awt.Dimension)">setMapSize</A></B>(java.awt.Dimension&nbsp;v)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of mapSize.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#setMouseCoordinates(java.awt.Point)">setMouseCoordinates</A></B>(java.awt.Point&nbsp;coord)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describe <code>setMouseCoordinates</code> method here.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#setZoomFactor(int)">setZoomFactor</A></B>(int&nbsp;v)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of zoomFactor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of the renderer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#updateCursor()">updateCursor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#updateFrame(java.awt.Graphics)">updateFrame</A></B>(java.awt.Graphics&nbsp;target)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update a given Graphics Frame</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Point</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#worldToMouse(java.awt.Point)">worldToMouse</A></B>(java.awt.Point&nbsp;c)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts world coordinates to mouse coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#zoomIn()">zoomIn</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zooms in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/Renderer.html#zoomOut()">zoomOut</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zooms out.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="VERBOSE"><!-- --></A><H3>
VERBOSE</H3>
<PRE>
public static final boolean <B>VERBOSE</B></PRE>
<DL>
<DD>Display debug information?
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#edu.gatech.cs2335.lemmings.graphics.Renderer.VERBOSE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DEBUG"><!-- --></A><H3>
DEBUG</H3>
<PRE>
public static final boolean <B>DEBUG</B></PRE>
<DL>
<DD>Display a lot of debug information?
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#edu.gatech.cs2335.lemmings.graphics.Renderer.DEBUG">Constant Field Values</A></DL>
</DL>
<!-- ========= 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="Renderer(edu.gatech.cs2335.lemmings.engine.Level, java.awt.Rectangle)"><!-- --></A><H3>
Renderer</H3>
<PRE>
public <B>Renderer</B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A>&nbsp;l,
java.awt.Rectangle&nbsp;disp)</PRE>
<DL>
<DD>Creates a new <code>Renderer</code> instance.
<P>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - The level that we will be rendering.<DD><CODE>disp</CODE> - The display bounds.</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="updateCursor()"><!-- --></A><H3>
updateCursor</H3>
<PRE>
public void <B>updateCursor</B>()</PRE>
<DL>
<DD>Updates the cursor.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMapViewPort()"><!-- --></A><H3>
getMapViewPort</H3>
<PRE>
public java.awt.Rectangle <B>getMapViewPort</B>()</PRE>
<DL>
<DD>accessor for renderer
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Rectangle</DL>
</DD>
</DL>
<HR>
<A NAME="getLevel()"><!-- --></A><H3>
getLevel</H3>
<PRE>
public <A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A> <B>getLevel</B>()</PRE>
<DL>
<DD>Get the value of level.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>value of level.</DL>
</DD>
</DL>
<HR>
<A NAME="setLevel(edu.gatech.cs2335.lemmings.engine.Level)"><!-- --></A><H3>
setLevel</H3>
<PRE>
public void <B>setLevel</B>(<A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Level.html" title="class in edu.gatech.cs2335.lemmings.engine">Level</A>&nbsp;v)</PRE>
<DL>
<DD>Set the value of level.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to level.</DL>
</DD>
</DL>
<HR>
<A NAME="getDisplay()"><!-- --></A><H3>
getDisplay</H3>
<PRE>
public java.awt.Rectangle <B>getDisplay</B>()</PRE>
<DL>
<DD>Get the value of display.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>value of display.</DL>
</DD>
</DL>
<HR>
<A NAME="setDisplay(java.awt.Rectangle)"><!-- --></A><H3>
setDisplay</H3>
<PRE>
public void <B>setDisplay</B>(java.awt.Rectangle&nbsp;v)</PRE>
<DL>
<DD>Set the value of display.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to display.</DL>
</DD>
</DL>
<HR>
<A NAME="getMapSize()"><!-- --></A><H3>
getMapSize</H3>
<PRE>
public java.awt.Dimension <B>getMapSize</B>()</PRE>
<DL>
<DD>Get the value of mapSize.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>value of mapSize.</DL>
</DD>
</DL>
<HR>
<A NAME="setMapSize(java.awt.Dimension)"><!-- --></A><H3>
setMapSize</H3>
<PRE>
protected void <B>setMapSize</B>(java.awt.Dimension&nbsp;v)</PRE>
<DL>
<DD>Set the value of mapSize.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to mapSize.</DL>
</DD>
</DL>
<HR>
<A NAME="getZoomFactor()"><!-- --></A><H3>
getZoomFactor</H3>
<PRE>
public int <B>getZoomFactor</B>()</PRE>
<DL>
<DD>Get the value of zoomFactor.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>value of zoomFactor.</DL>
</DD>
</DL>
<HR>
<A NAME="setZoomFactor(int)"><!-- --></A><H3>
setZoomFactor</H3>
<PRE>
public void <B>setZoomFactor</B>(int&nbsp;v)</PRE>
<DL>
<DD>Set the value of zoomFactor.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to zoomFactor.</DL>
</DD>
</DL>
<HR>
<A NAME="zoomIn()"><!-- --></A><H3>
zoomIn</H3>
<PRE>
public void <B>zoomIn</B>()</PRE>
<DL>
<DD>Zooms in.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="zoomOut()"><!-- --></A><H3>
zoomOut</H3>
<PRE>
public void <B>zoomOut</B>()</PRE>
<DL>
<DD>Zooms out.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="scroll(java.awt.Point)"><!-- --></A><H3>
scroll</H3>
<PRE>
public void <B>scroll</B>(java.awt.Point&nbsp;offset)</PRE>
<DL>
<DD>Scroll the map by offset in the x-y directions.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the amount to offset</DL>
</DD>
</DL>
<HR>
<A NAME="getScrollRate()"><!-- --></A><H3>
getScrollRate</H3>
<PRE>
public java.awt.Point <B>getScrollRate</B>()</PRE>
<DL>
<DD>Describe <code>getScrollRate</code> method here.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>Point</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="getMouseCoordinates()"><!-- --></A><H3>
getMouseCoordinates</H3>
<PRE>
public java.awt.Point <B>getMouseCoordinates</B>()</PRE>
<DL>
<DD>Describe <code>getMouseCoordinates</code> method here.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>Point</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="setMouseCoordinates(java.awt.Point)"><!-- --></A><H3>
setMouseCoordinates</H3>
<PRE>
public void <B>setMouseCoordinates</B>(java.awt.Point&nbsp;coord)</PRE>
<DL>
<DD>Describe <code>setMouseCoordinates</code> method here.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>coord</CODE> - a <code>Point</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="mouseToWorld(java.awt.Point)"><!-- --></A><H3>
mouseToWorld</H3>
<PRE>
public java.awt.Point <B>mouseToWorld</B>(java.awt.Point&nbsp;c)</PRE>
<DL>
<DD>Converts mouse coordinates to world coordinates.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - a <code>Point</code> value
<DT><B>Returns:</B><DD>a <code>Point</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="worldToMouse(java.awt.Point)"><!-- --></A><H3>
worldToMouse</H3>
<PRE>
public java.awt.Point <B>worldToMouse</B>(java.awt.Point&nbsp;c)</PRE>
<DL>
<DD>Converts world coordinates to mouse coordinates.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - a <code>Point</code> value
<DT><B>Returns:</B><DD>a <code>Point</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="updateFrame(java.awt.Graphics)"><!-- --></A><H3>
updateFrame</H3>
<PRE>
public boolean <B>updateFrame</B>(java.awt.Graphics&nbsp;target)</PRE>
<DL>
<DD>Update a given Graphics Frame
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the frame to update
<DT><B>Returns:</B><DD>success</DL>
</DD>
</DL>
<HR>
<A NAME="calculateWaterLevel()"><!-- --></A><H3>
calculateWaterLevel</H3>
<PRE>
public void <B>calculateWaterLevel</B>()</PRE>
<DL>
<DD>Once the level has been set, calculates how water needs to be drawn.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSelectedLemming()"><!-- --></A><H3>
getSelectedLemming</H3>
<PRE>
public <A HREF="../../../../../edu/gatech/cs2335/lemmings/engine/Lemming.html" title="class in edu.gatech.cs2335.lemmings.engine">Lemming</A> <B>getSelectedLemming</B>()</PRE>
<DL>
<DD>Describe <code>getSelectedLemming</code> method here.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>Lemming</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="rerenderTerrain()"><!-- --></A><H3>
rerenderTerrain</H3>
<PRE>
public void <B>rerenderTerrain</B>()</PRE>
<DL>
<DD>Rerenders the terrain.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string representation of the renderer.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>String</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
<DL>
<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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&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="../../../../../edu/gatech/cs2335/lemmings/graphics/Looping.html" title="class in edu.gatech.cs2335.lemmings.graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../edu/gatech/cs2335/lemmings/graphics/TileSet.html" title="class in edu.gatech.cs2335.lemmings.graphics"><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> &nbsp;
&nbsp;<A HREF="Renderer.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>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>