667 lines
22 KiB
HTML
667 lines
22 KiB
HTML
<!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>
|
|
PhysicsSettings
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="edu.gatech.cs2335.lemmings.physics.PhysicsSettings class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="PhysicsSettings";
|
|
}
|
|
</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/physics/PhysicsObject.html" title="class in edu.gatech.cs2335.lemmings.physics"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsVector.html" title="class in edu.gatech.cs2335.lemmings.physics"><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="PhysicsSettings.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <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.physics</FONT>
|
|
<BR>
|
|
Class PhysicsSettings</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>edu.gatech.cs2335.lemmings.physics.PhysicsSettings</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT>public class <B>PhysicsSettings</B><DT>extends java.lang.Object</DL>
|
|
|
|
<P>
|
|
Physics Settings, thanks to PMD, a Singleton class
|
|
|
|
Holds Physics Constants
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD><A HREF="mailto:gtg184g@mail.gatech.edu">Jose Caban</A></DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
|
|
<!-- ========== 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>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getAngelVelocity()">getAngelVelocity</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getAngelVelocity</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getBounceVelocity()">getBounceVelocity</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getBounceVelocity</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getFloatSpeed()">getFloatSpeed</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getFloatSpeed</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getFriction()">getFriction</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Get the friction</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getGlideX()">getGlideX</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getGlideX</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getGravity()">getGravity</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Get the gravity</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getInitialX()">getInitialX</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getInitialX , getInitialX</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html" title="class in edu.gatech.cs2335.lemmings.physics">PhysicsSettings</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getInstance()">getInstance</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Describe <code>getInstance</code> method here.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getLaunchSpeed()">getLaunchSpeed</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getLaunchSpeed</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#getTerminalVelocity()">getTerminalVelocity</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getTerminalVelocity</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/physics/PhysicsSettings.html#setAngelVelocity(int)">setAngelVelocity</A></B>(int angelVelocity)</CODE>
|
|
|
|
<BR>
|
|
Method setAngelVelocity</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/physics/PhysicsSettings.html#setBounceVelocity(int)">setBounceVelocity</A></B>(int bounceVelocity)</CODE>
|
|
|
|
<BR>
|
|
Method setBounceVelocity</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/physics/PhysicsSettings.html#setFloatSpeed(int)">setFloatSpeed</A></B>(int floatSpeed)</CODE>
|
|
|
|
<BR>
|
|
Method setFloatSpeed</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/physics/PhysicsSettings.html#setFriction(int)">setFriction</A></B>(int aFriction)</CODE>
|
|
|
|
<BR>
|
|
Set the friction</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/physics/PhysicsSettings.html#setGlideX()">setGlideX</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method setGlideX</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/physics/PhysicsSettings.html#setGravity(int)">setGravity</A></B>(int aGravity)</CODE>
|
|
|
|
<BR>
|
|
Set the gravity</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/physics/PhysicsSettings.html#setInitialX(int)">setInitialX</A></B>(int initialX)</CODE>
|
|
|
|
<BR>
|
|
Method setInitialX</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/physics/PhysicsSettings.html#setLaunchSpeed(int)">setLaunchSpeed</A></B>(int launchSpeed)</CODE>
|
|
|
|
<BR>
|
|
Method setLaunchSpeed</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/physics/PhysicsSettings.html#setTerminalVelocity(int)">setTerminalVelocity</A></B>(int terminalVelocity)</CODE>
|
|
|
|
<BR>
|
|
Method setTerminalVelocity</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/physics/PhysicsSettings.html#setUseClassicPhysics(boolean)">setUseClassicPhysics</A></B>(boolean useClassicPhysics)</CODE>
|
|
|
|
<BR>
|
|
Method setUseClassicPhysics</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html#useClassicPhysics()">useClassicPhysics</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Method getUseClassicPhysics</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 ======== -->
|
|
|
|
|
|
<!-- ============ 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="getGravity()"><!-- --></A><H3>
|
|
getGravity</H3>
|
|
<PRE>
|
|
public static int <B>getGravity</B>()</PRE>
|
|
<DL>
|
|
<DD>Get the gravity
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the gravity of the system</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFriction()"><!-- --></A><H3>
|
|
getFriction</H3>
|
|
<PRE>
|
|
public static int <B>getFriction</B>()</PRE>
|
|
<DL>
|
|
<DD>Get the friction
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the friction of the system</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTerminalVelocity()"><!-- --></A><H3>
|
|
getTerminalVelocity</H3>
|
|
<PRE>
|
|
public static int <B>getTerminalVelocity</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getTerminalVelocity
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , terminal velocity from PhysicsSettings</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getInstance()"><!-- --></A><H3>
|
|
getInstance</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsSettings.html" title="class in edu.gatech.cs2335.lemmings.physics">PhysicsSettings</A> <B>getInstance</B>()</PRE>
|
|
<DL>
|
|
<DD>Describe <code>getInstance</code> method here.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>a <code>PhysicsSettings</code> value</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGravity(int)"><!-- --></A><H3>
|
|
setGravity</H3>
|
|
<PRE>
|
|
public static void <B>setGravity</B>(int aGravity)</PRE>
|
|
<DL>
|
|
<DD>Set the gravity
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>aGravity</CODE> - , the new gravity of the system</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFriction(int)"><!-- --></A><H3>
|
|
setFriction</H3>
|
|
<PRE>
|
|
public static void <B>setFriction</B>(int aFriction)</PRE>
|
|
<DL>
|
|
<DD>Set the friction
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>aFriction</CODE> - , the friction of the system</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTerminalVelocity(int)"><!-- --></A><H3>
|
|
setTerminalVelocity</H3>
|
|
<PRE>
|
|
public static void <B>setTerminalVelocity</B>(int terminalVelocity)</PRE>
|
|
<DL>
|
|
<DD>Method setTerminalVelocity
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>terminalVelocity</CODE> - , termVelocity</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setInitialX(int)"><!-- --></A><H3>
|
|
setInitialX</H3>
|
|
<PRE>
|
|
public static void <B>setInitialX</B>(int initialX)</PRE>
|
|
<DL>
|
|
<DD>Method setInitialX
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>initialX</CODE> - , initialX</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getInitialX()"><!-- --></A><H3>
|
|
getInitialX</H3>
|
|
<PRE>
|
|
public static int <B>getInitialX</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getInitialX , getInitialX
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , initialX from PhysicsSettings</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setFloatSpeed(int)"><!-- --></A><H3>
|
|
setFloatSpeed</H3>
|
|
<PRE>
|
|
public static void <B>setFloatSpeed</B>(int floatSpeed)</PRE>
|
|
<DL>
|
|
<DD>Method setFloatSpeed
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>floatSpeed</CODE> - , float speed</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setBounceVelocity(int)"><!-- --></A><H3>
|
|
setBounceVelocity</H3>
|
|
<PRE>
|
|
public static void <B>setBounceVelocity</B>(int bounceVelocity)</PRE>
|
|
<DL>
|
|
<DD>Method setBounceVelocity
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>bounceVelocity</CODE> - , bounceVelocity</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFloatSpeed()"><!-- --></A><H3>
|
|
getFloatSpeed</H3>
|
|
<PRE>
|
|
public static int <B>getFloatSpeed</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getFloatSpeed
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , float speed</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBounceVelocity()"><!-- --></A><H3>
|
|
getBounceVelocity</H3>
|
|
<PRE>
|
|
public static int <B>getBounceVelocity</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getBounceVelocity
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , bounce velocity</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAngelVelocity(int)"><!-- --></A><H3>
|
|
setAngelVelocity</H3>
|
|
<PRE>
|
|
public static void <B>setAngelVelocity</B>(int angelVelocity)</PRE>
|
|
<DL>
|
|
<DD>Method setAngelVelocity
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>angelVelocity</CODE> - , angel Velocity</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAngelVelocity()"><!-- --></A><H3>
|
|
getAngelVelocity</H3>
|
|
<PRE>
|
|
public static int <B>getAngelVelocity</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getAngelVelocity
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>angleVelocity</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setUseClassicPhysics(boolean)"><!-- --></A><H3>
|
|
setUseClassicPhysics</H3>
|
|
<PRE>
|
|
public static void <B>setUseClassicPhysics</B>(boolean useClassicPhysics)</PRE>
|
|
<DL>
|
|
<DD>Method setUseClassicPhysics
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>useClassicPhysics</CODE> - , boolean bla bla</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="useClassicPhysics()"><!-- --></A><H3>
|
|
useClassicPhysics</H3>
|
|
<PRE>
|
|
public static boolean <B>useClassicPhysics</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getUseClassicPhysics
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>boolean , whether or not classic physics is turned on.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLaunchSpeed(int)"><!-- --></A><H3>
|
|
setLaunchSpeed</H3>
|
|
<PRE>
|
|
public static void <B>setLaunchSpeed</B>(int launchSpeed)</PRE>
|
|
<DL>
|
|
<DD>Method setLaunchSpeed
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>launchSpeed</CODE> - , launchSpeeeeed</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLaunchSpeed()"><!-- --></A><H3>
|
|
getLaunchSpeed</H3>
|
|
<PRE>
|
|
public static int <B>getLaunchSpeed</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getLaunchSpeed
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , LaunchSpeed from PhysicsSettings</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGlideX()"><!-- --></A><H3>
|
|
setGlideX</H3>
|
|
<PRE>
|
|
public static void <B>setGlideX</B>()</PRE>
|
|
<DL>
|
|
<DD>Method setGlideX
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getGlideX()"><!-- --></A><H3>
|
|
getGlideX</H3>
|
|
<PRE>
|
|
public static int <B>getGlideX</B>()</PRE>
|
|
<DL>
|
|
<DD>Method getGlideX
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>int , glideX value from PhysicsSettings</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/physics/PhysicsObject.html" title="class in edu.gatech.cs2335.lemmings.physics"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../../edu/gatech/cs2335/lemmings/physics/PhysicsVector.html" title="class in edu.gatech.cs2335.lemmings.physics"><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="PhysicsSettings.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|