API docs for 1.3 release.
This commit is contained in:
@@ -0,0 +1,759 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 06 17:00:11 PDT 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
PuzzleController (vilya 1.3 API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-04-06">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="PuzzleController (vilya 1.3 API)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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="class-use/PuzzleController.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../com/threerings/puzzle/client/PuzzleBoardView.html" title="class in com.threerings.puzzle.client"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/threerings/puzzle/client/PuzzleController.ClearPender.html" title="interface in com.threerings.puzzle.client"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../index.html?com/threerings/puzzle/client/PuzzleController.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PuzzleController.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <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">
|
||||
com.threerings.puzzle.client</FONT>
|
||||
<BR>
|
||||
Class PuzzleController</H2>
|
||||
<PRE>
|
||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true" title="class or interface in com.samskivert.swing">com.samskivert.swing.Controller</A>
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">com.threerings.crowd.client.PlaceController
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">com.threerings.parlor.game.client.GameController</A>
|
||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.threerings.puzzle.client.PuzzleController</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>com.threerings.presents.data.InvocationCodes, com.threerings.presents.dobj.AttributeChangeListener, com.threerings.presents.dobj.ChangeListener, <A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html" title="interface in com.threerings.puzzle.data">PuzzleCodes</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/ActionListener.html?is-external=true" title="class or interface in java.awt.event">ActionListener</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public abstract class <B>PuzzleController</B><DT>extends <A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A><DT>implements <A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html" title="interface in com.threerings.puzzle.data">PuzzleCodes</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
The puzzle game controller handles logical actions for a puzzle game.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static interface</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.ClearPender.html" title="interface in com.threerings.puzzle.client">PuzzleController.ClearPender</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Used by <A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#fireWhenActionCleared(com.threerings.puzzle.client.PuzzleController.ClearPender)"><CODE>fireWhenActionCleared(com.threerings.puzzle.client.PuzzleController.ClearPender)</CODE></A>.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_com.threerings.crowd.client.PlaceController"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.threerings.crowd.client.PlaceController</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>com.threerings.crowd.client.PlaceController.DelegateOp</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#TOGGLE_CHATTING">TOGGLE_CHATTING</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
The action command to toggle chatting mode.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_com.samskivert.swing.Controller"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class com.samskivert.swing.<A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true" title="class or interface in com.samskivert.swing">Controller</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#DISPATCHER" title="class or interface in com.samskivert.swing">DISPATCHER</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_com.threerings.puzzle.data.PuzzleCodes"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface com.threerings.puzzle.data.<A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html" title="interface in com.threerings.puzzle.data">PuzzleCodes</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html#DEBUG_PUZZLE">DEBUG_PUZZLE</A>, <A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html#DEFAULT_DIFFICULTY">DEFAULT_DIFFICULTY</A>, <A HREF="../../../../com/threerings/puzzle/data/PuzzleCodes.html#PUZZLE_MESSAGE_BUNDLE">PUZZLE_MESSAGE_BUNDLE</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_com.threerings.presents.data.InvocationCodes"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface com.threerings.presents.data.InvocationCodes</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ACCESS_DENIED, E_ACCESS_DENIED, E_INTERNAL_ERROR, GLOBAL_GROUP, INTERNAL_ERROR</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#PuzzleController()">PuzzleController</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</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">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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="../../../../com/threerings/puzzle/client/PuzzleController.html#addProgressEvent(int, com.threerings.puzzle.data.Board)">addProgressEvent</A></B>(int event,
|
||||
<A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A> board)</CODE>
|
||||
|
||||
<BR>
|
||||
Adds the given progress event and a snapshot of the supplied board state to the set of
|
||||
progress events and associated board states for later transmission to the server.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#attributeChanged(com.threerings.presents.dobj.AttributeChangedEvent)">attributeChanged</A></B>(com.threerings.presents.dobj.AttributeChangedEvent event)</CODE>
|
||||
|
||||
<BR>
|
||||
</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="../../../../com/threerings/puzzle/client/PuzzleController.html#didLeavePlace(com.threerings.crowd.data.PlaceObject)">didLeavePlace</A></B>(com.threerings.crowd.data.PlaceObject plobj)</CODE>
|
||||
|
||||
<BR>
|
||||
Removes our listener registration from the game object and cleans house.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#getBoard()">getBoard</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the board associated with the puzzle.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#getEventCount()">getEventCount</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the number of progress events currently queued up for sending to the server with
|
||||
the next progress update.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#getPauseString()">getPauseString</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the (untranslated) string to display when the puzzle is paused.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#getPlayerIndex()">getPlayerIndex</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the player's index in the list of players for the game.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> boolean</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#handleAction(java.awt.event.ActionEvent)">handleAction</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/ActionEvent.html?is-external=true" title="class or interface in java.awt.event">ActionEvent</A> action)</CODE>
|
||||
|
||||
<BR>
|
||||
Handles basic game controller action events.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> boolean</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#hasAction()">hasAction</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns true if the puzzle has action, false if the action is cleared or it is suspended.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> boolean</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../../com/threerings/puzzle/client/PuzzleController.html#isChatting()">isChatting</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns true if the puzzle has been defocused because the player is doing some chatting.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#mayLeavePlace(com.threerings.crowd.data.PlaceObject)">mayLeavePlace</A></B>(com.threerings.crowd.data.PlaceObject plobj)</CODE>
|
||||
|
||||
<BR>
|
||||
</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="../../../../com/threerings/puzzle/client/PuzzleController.html#sendProgressUpdate()">sendProgressUpdate</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Sends the server a game progress update with the list of events, as well as board states if
|
||||
<A HREF="../../../../com/threerings/puzzle/client/PuzzlePanel.html#isSyncingBoards()"><CODE>PuzzlePanel.isSyncingBoards()</CODE></A> is true.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#setBoard(com.threerings.puzzle.data.Board)">setBoard</A></B>(<A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A> board)</CODE>
|
||||
|
||||
<BR>
|
||||
Called when a new board is set.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#setChatting(boolean)">setChatting</A></B>(boolean chatting)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets whether we're focusing on the chat window rather than the puzzle.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#setGameOver(boolean)">setGameOver</A></B>(boolean gameOver)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the client game over override.</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="../../../../com/threerings/puzzle/client/PuzzleController.html#willEnterPlace(com.threerings.crowd.data.PlaceObject)">willEnterPlace</A></B>(com.threerings.crowd.data.PlaceObject plobj)</CODE>
|
||||
|
||||
<BR>
|
||||
Adds this controller as a listener to the game object (thus derived classes need not do so)
|
||||
and lets the game manager know that we are now ready to go.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_com.threerings.parlor.game.client.GameController"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class com.threerings.parlor.game.client.<A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#getMatchType()">getMatchType</A>, <A HREF="../../../../com/threerings/parlor/game/client/GameController.html#getSessionId()">getSessionId</A>, <A HREF="../../../../com/threerings/parlor/game/client/GameController.html#init(com.threerings.crowd.util.CrowdContext, com.threerings.crowd.data.PlaceConfig)">init</A>, <A HREF="../../../../com/threerings/parlor/game/client/GameController.html#isGameOver()">isGameOver</A>, <A HREF="../../../../com/threerings/parlor/game/client/GameController.html#resetGame()">resetGame</A>, <A HREF="../../../../com/threerings/parlor/game/client/GameController.html#systemMessage(java.lang.String, java.lang.String)">systemMessage</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_com.threerings.crowd.client.PlaceController"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class com.threerings.crowd.client.PlaceController</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>getPlaceConfig, getPlaceView</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_com.samskivert.swing.Controller"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class com.samskivert.swing.<A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true" title="class or interface in com.samskivert.swing">Controller</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#actionPerformed(java.awt.event.ActionEvent)" title="class or interface in com.samskivert.swing">actionPerformed</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#configureAction(javax.swing.AbstractButton, java.lang.String)" title="class or interface in com.samskivert.swing">configureAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#createActionButton(java.lang.String, java.lang.String)" title="class or interface in com.samskivert.swing">createActionButton</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#handleAction(java.awt.Component, java.lang.String)" title="class or interface in com.samskivert.swing">handleAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#handleAction(java.awt.Component, java.lang.String, java.lang.Object)" title="class or interface in com.samskivert.swing">handleAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#handleAction(java.lang.Object, java.lang.String, java.lang.Object)" title="class or interface in com.samskivert.swing">handleAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#postAction(java.awt.event.ActionEvent)" title="class or interface in com.samskivert.swing">postAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#postAction(java.awt.Component, java.lang.String)" title="class or interface in com.samskivert.swing">postAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#postAction(java.awt.Component, java.lang.String, java.lang.Object)" title="class or interface in com.samskivert.swing">postAction</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#setControlledPanel(javax.swing.JComponent)" title="class or interface in com.samskivert.swing">setControlledPanel</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#wasAdded()" title="class or interface in com.samskivert.swing">wasAdded</A>, <A HREF="http://samskivert.googlecode.com/svn/apidocs/com/samskivert/swing/Controller.html?is-external=true#wasRemoved()" title="class or interface in com.samskivert.swing">wasRemoved</A></CODE></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">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
<A NAME="field_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="TOGGLE_CHATTING"><!-- --></A><H3>
|
||||
TOGGLE_CHATTING</H3>
|
||||
<PRE>
|
||||
public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>TOGGLE_CHATTING</B></PRE>
|
||||
<DL>
|
||||
<DD>The action command to toggle chatting mode.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.threerings.puzzle.client.PuzzleController.TOGGLE_CHATTING">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">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="PuzzleController()"><!-- --></A><H3>
|
||||
PuzzleController</H3>
|
||||
<PRE>
|
||||
public <B>PuzzleController</B>()</PRE>
|
||||
<DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getBoard()"><!-- --></A><H3>
|
||||
getBoard</H3>
|
||||
<PRE>
|
||||
public <A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A> <B>getBoard</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the board associated with the puzzle.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getPlayerIndex()"><!-- --></A><H3>
|
||||
getPlayerIndex</H3>
|
||||
<PRE>
|
||||
public int <B>getPlayerIndex</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the player's index in the list of players for the game.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setGameOver(boolean)"><!-- --></A><H3>
|
||||
setGameOver</H3>
|
||||
<PRE>
|
||||
public void <B>setGameOver</B>(boolean gameOver)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#setGameOver(boolean)">GameController</A></CODE></B></DD>
|
||||
<DD>Sets the client game over override. This is used in situations where we determine that the
|
||||
game is over before the server has informed us of such.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#setGameOver(boolean)">setGameOver</A></CODE> in class <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="hasAction()"><!-- --></A><H3>
|
||||
hasAction</H3>
|
||||
<PRE>
|
||||
public boolean <B>hasAction</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns true if the puzzle has action, false if the action is cleared or it is suspended.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setChatting(boolean)"><!-- --></A><H3>
|
||||
setChatting</H3>
|
||||
<PRE>
|
||||
public void <B>setChatting</B>(boolean chatting)</PRE>
|
||||
<DL>
|
||||
<DD>Sets whether we're focusing on the chat window rather than the puzzle.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getPauseString()"><!-- --></A><H3>
|
||||
getPauseString</H3>
|
||||
<PRE>
|
||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPauseString</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the (untranslated) string to display when the puzzle is paused.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="isChatting()"><!-- --></A><H3>
|
||||
isChatting</H3>
|
||||
<PRE>
|
||||
public boolean <B>isChatting</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns true if the puzzle has been defocused because the player is doing some chatting.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="willEnterPlace(com.threerings.crowd.data.PlaceObject)"><!-- --></A><H3>
|
||||
willEnterPlace</H3>
|
||||
<PRE>
|
||||
public void <B>willEnterPlace</B>(com.threerings.crowd.data.PlaceObject plobj)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#willEnterPlace(com.threerings.crowd.data.PlaceObject)">GameController</A></CODE></B></DD>
|
||||
<DD>Adds this controller as a listener to the game object (thus derived classes need not do so)
|
||||
and lets the game manager know that we are now ready to go.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#willEnterPlace(com.threerings.crowd.data.PlaceObject)">willEnterPlace</A></CODE> in class <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="mayLeavePlace(com.threerings.crowd.data.PlaceObject)"><!-- --></A><H3>
|
||||
mayLeavePlace</H3>
|
||||
<PRE>
|
||||
public void <B>mayLeavePlace</B>(com.threerings.crowd.data.PlaceObject plobj)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>mayLeavePlace</CODE> in class <CODE>com.threerings.crowd.client.PlaceController</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="didLeavePlace(com.threerings.crowd.data.PlaceObject)"><!-- --></A><H3>
|
||||
didLeavePlace</H3>
|
||||
<PRE>
|
||||
public void <B>didLeavePlace</B>(com.threerings.crowd.data.PlaceObject plobj)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#didLeavePlace(com.threerings.crowd.data.PlaceObject)">GameController</A></CODE></B></DD>
|
||||
<DD>Removes our listener registration from the game object and cleans house.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#didLeavePlace(com.threerings.crowd.data.PlaceObject)">didLeavePlace</A></CODE> in class <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="attributeChanged(com.threerings.presents.dobj.AttributeChangedEvent)"><!-- --></A><H3>
|
||||
attributeChanged</H3>
|
||||
<PRE>
|
||||
public void <B>attributeChanged</B>(com.threerings.presents.dobj.AttributeChangedEvent event)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>attributeChanged</CODE> in interface <CODE>com.threerings.presents.dobj.AttributeChangeListener</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#attributeChanged(com.threerings.presents.dobj.AttributeChangedEvent)">attributeChanged</A></CODE> in class <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setBoard(com.threerings.puzzle.data.Board)"><!-- --></A><H3>
|
||||
setBoard</H3>
|
||||
<PRE>
|
||||
public void <B>setBoard</B>(<A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A> board)</PRE>
|
||||
<DL>
|
||||
<DD>Called when a new board is set.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="handleAction(java.awt.event.ActionEvent)"><!-- --></A><H3>
|
||||
handleAction</H3>
|
||||
<PRE>
|
||||
public boolean <B>handleAction</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/ActionEvent.html?is-external=true" title="class or interface in java.awt.event">ActionEvent</A> action)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#handleAction(java.awt.event.ActionEvent)">GameController</A></CODE></B></DD>
|
||||
<DD>Handles basic game controller action events. Derived classes should be sure to call
|
||||
<code>super.handleAction</code> for events they don't specifically handle.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html#handleAction(java.awt.event.ActionEvent)">handleAction</A></CODE> in class <CODE><A HREF="../../../../com/threerings/parlor/game/client/GameController.html" title="class in com.threerings.parlor.game.client">GameController</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getEventCount()"><!-- --></A><H3>
|
||||
getEventCount</H3>
|
||||
<PRE>
|
||||
public int <B>getEventCount</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the number of progress events currently queued up for sending to the server with
|
||||
the next progress update.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="addProgressEvent(int, com.threerings.puzzle.data.Board)"><!-- --></A><H3>
|
||||
addProgressEvent</H3>
|
||||
<PRE>
|
||||
public void <B>addProgressEvent</B>(int event,
|
||||
<A HREF="../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</A> board)</PRE>
|
||||
<DL>
|
||||
<DD>Adds the given progress event and a snapshot of the supplied board state to the set of
|
||||
progress events and associated board states for later transmission to the server.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="sendProgressUpdate()"><!-- --></A><H3>
|
||||
sendProgressUpdate</H3>
|
||||
<PRE>
|
||||
public void <B>sendProgressUpdate</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Sends the server a game progress update with the list of events, as well as board states if
|
||||
<A HREF="../../../../com/threerings/puzzle/client/PuzzlePanel.html#isSyncingBoards()"><CODE>PuzzlePanel.isSyncingBoards()</CODE></A> is true.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</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=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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="class-use/PuzzleController.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../com/threerings/puzzle/client/PuzzleBoardView.html" title="class in com.threerings.puzzle.client"><B>PREV CLASS</B></A>
|
||||
<A HREF="../../../../com/threerings/puzzle/client/PuzzleController.ClearPender.html" title="interface in com.threerings.puzzle.client"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../../../index.html?com/threerings/puzzle/client/PuzzleController.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="PuzzleController.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <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>
|
||||
Copyright © 2011. All Rights Reserved.
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user