Files
vilya/apidocs/com/threerings/puzzle/drop/client/DropControllerDelegate.html
T
2015-03-14 10:44:30 -07:00

706 lines
38 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Sat Mar 14 10:07:09 PDT 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DropControllerDelegate (Vilya Core 1.6 API)</title>
<meta name="date" content="2015-03-14">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DropControllerDelegate (Vilya Core 1.6 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DropControllerDelegate.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/threerings/puzzle/drop/client/DropBoardView.html" title="class in com.threerings.puzzle.drop.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/threerings/puzzle/drop/client/DropPanel.html" title="interface in com.threerings.puzzle.drop.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/threerings/puzzle/drop/client/DropControllerDelegate.html" target="_top">Frames</a></li>
<li><a href="DropControllerDelegate.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.threerings.puzzle.drop.client</div>
<h2 title="Class DropControllerDelegate" class="title">Class DropControllerDelegate</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.threerings.crowd.client.PlaceControllerDelegate</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html" title="class in com.threerings.parlor.game.client">com.threerings.parlor.game.client.GameControllerDelegate</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html" title="class in com.threerings.puzzle.client">com.threerings.puzzle.client.PuzzleControllerDelegate</a></li>
<li>
<ul class="inheritance">
<li>com.threerings.puzzle.drop.client.DropControllerDelegate</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.threerings.media.FrameParticipant, com.threerings.presents.data.InvocationCodes, <a href="../../../../../com/threerings/puzzle/data/PuzzleCodes.html" title="interface in com.threerings.puzzle.data">PuzzleCodes</a>, <a href="../../../../../com/threerings/puzzle/data/PuzzleGameCodes.html" title="interface in com.threerings.puzzle.data">PuzzleGameCodes</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html" title="interface in com.threerings.puzzle.drop.data">DropCodes</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropPieceCodes.html" title="interface in com.threerings.puzzle.drop.data">DropPieceCodes</a>, com.threerings.util.DirectionCodes</dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">DropControllerDelegate</span>
extends <a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html" title="class in com.threerings.puzzle.client">PuzzleControllerDelegate</a>
implements <a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html" title="interface in com.threerings.puzzle.drop.data">DropCodes</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropPieceCodes.html" title="interface in com.threerings.puzzle.drop.data">DropPieceCodes</a>, com.threerings.media.FrameParticipant</pre>
<div class="block">Games that wish to make use of the drop puzzle services will need to create an extension of
this delegate class, customizing it for their particular game and then adding it via
<code>PlaceController.addDelegate(com.threerings.crowd.client.PlaceControllerDelegate)</code>.
<p> It handles logical actions for a puzzle game that generally consists of a two-dimensional
board containing pieces, with new pieces either falling into the board as a "drop block", or
rising into the bottom of the board in new piece rows.
<p> Derived classes must implement <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getPieceVelocity-boolean-"><code>getPieceVelocity(boolean)</code></a> and <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#evolveBoard--"><code>evolveBoard()</code></a>.
<p> Block-dropping puzzles will likely want to override <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#createNextBlock--"><code>createNextBlock()</code></a>,
<a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#blockDidLand--"><code>blockDidLand()</code></a>, and <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getPieceDropLogic--"><code>getPieceDropLogic()</code></a>.
<p> Board-rising puzzles will likely want to override <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getRiseVelocity--"><code>getRiseVelocity()</code></a>,
<a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getRiseDistance--"><code>getRiseDistance()</code></a>, <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getPieceDropLogic--"><code>getPieceDropLogic()</code></a>, and <a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#boardDidRise--"><code>boardDidRise()</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#END_DROP_BLOCK">END_DROP_BLOCK</a></span></code>
<div class="block">The action command for ending dropping the block.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#MOVE_BLOCK_LEFT">MOVE_BLOCK_LEFT</a></span></code>
<div class="block">The action command for moving the block to the left.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#MOVE_BLOCK_RIGHT">MOVE_BLOCK_RIGHT</a></span></code>
<div class="block">The action command for moving the block to the right.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#RAISE_ROW">RAISE_ROW</a></span></code>
<div class="block">The action command for raising the next rising row.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#ROTATE_BLOCK_CCW">ROTATE_BLOCK_CCW</a></span></code>
<div class="block">The action command for rotating the block counter-clockwise.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#ROTATE_BLOCK_CW">ROTATE_BLOCK_CW</a></span></code>
<div class="block">The action command for rotating the block clockwise.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#START_DROP_BLOCK">START_DROP_BLOCK</a></span></code>
<div class="block">The action command for starting to dropping the block.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.threerings.puzzle.drop.data.DropCodes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;com.threerings.puzzle.drop.data.<a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html" title="interface in com.threerings.puzzle.drop.data">DropCodes</a></h3>
<code><a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html#DROP_MESSAGE_BUNDLE">DROP_MESSAGE_BUNDLE</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html#DROP_STREAM">DROP_STREAM</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropCodes.html#RISE_STREAM">RISE_STREAM</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.threerings.puzzle.drop.data.DropPieceCodes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;com.threerings.puzzle.drop.data.<a href="../../../../../com/threerings/puzzle/drop/data/DropPieceCodes.html" title="interface in com.threerings.puzzle.drop.data">DropPieceCodes</a></h3>
<code><a href="../../../../../com/threerings/puzzle/drop/data/DropPieceCodes.html#DROP_BLOCK_PIECE_COUNT">DROP_BLOCK_PIECE_COUNT</a>, <a href="../../../../../com/threerings/puzzle/drop/data/DropPieceCodes.html#PIECE_NONE">PIECE_NONE</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.threerings.util.DirectionCodes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;com.threerings.util.DirectionCodes</h3>
<code>CARDINAL_DIRECTIONS, CCW, CW, DIRECTION_COUNT, DOWN, EAST, EASTNORTHEAST, EASTSOUTHEAST, FINE_DIRECTION_COUNT, HORIZONTAL, LEFT, NONE, NORTH, NORTHEAST, NORTHNORTHEAST, NORTHNORTHWEST, NORTHWEST, RIGHT, SOUTH, SOUTHEAST, SOUTHSOUTHEAST, SOUTHSOUTHWEST, SOUTHWEST, UP, VERTICAL, WEST, WESTNORTHWEST, WESTSOUTHWEST</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.threerings.puzzle.data.PuzzleCodes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;com.threerings.puzzle.data.<a href="../../../../../com/threerings/puzzle/data/PuzzleCodes.html" title="interface in com.threerings.puzzle.data">PuzzleCodes</a></h3>
<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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.threerings.presents.data.InvocationCodes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;com.threerings.presents.data.InvocationCodes</h3>
<code>ACCESS_DENIED, E_ACCESS_DENIED, E_INTERNAL_ERROR, GLOBAL_GROUP, INTERNAL_ERROR</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#DropControllerDelegate-com.threerings.puzzle.client.PuzzleController-com.threerings.puzzle.drop.data.DropLogic-">DropControllerDelegate</a></span>(<a href="../../../../../com/threerings/puzzle/client/PuzzleController.html" title="class in com.threerings.puzzle.client">PuzzleController</a>&nbsp;ctrl,
<a href="../../../../../com/threerings/puzzle/drop/data/DropLogic.html" title="interface in com.threerings.puzzle.drop.data">DropLogic</a>&nbsp;logic)</code>
<div class="block">Creates a delegate with the specified drop game logic and controller.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#gameDidEnd--">gameDidEnd</a></span>()</code>
<div class="block">Called when the game transitions to the <code>GAME_OVER</code>
state.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#getComponent--">getComponent</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#handleAction-java.awt.event.ActionEvent-">handleAction</a></span>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/event/ActionEvent.html?is-external=true" title="class or interface in java.awt.event">ActionEvent</a>&nbsp;action)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#init-com.threerings.crowd.util.CrowdContext-com.threerings.crowd.data.PlaceConfig-">init</a></span>(com.threerings.crowd.util.CrowdContext&nbsp;ctx,
com.threerings.crowd.data.PlaceConfig&nbsp;config)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#needsPaint--">needsPaint</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#setBoard-com.threerings.puzzle.data.Board-">setBoard</a></span>(<a href="../../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</a>&nbsp;board)</code>
<div class="block">Called when the puzzle controller sets up a new board for the player.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#setRisingPaused-boolean-">setRisingPaused</a></span>(boolean&nbsp;paused)</code>
<div class="block">Sets whether the board rising is paused.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#tick-long-">tick</a></span>(long&nbsp;tickStamp)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#updateSelfSummary--">updateSelfSummary</a></span>()</code>
<div class="block">Updates the player's own local board summary to reflect the local copy of the player's
board which is likely to be more up to date than the server-side board from which all other
player board summaries originate.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/threerings/puzzle/drop/client/DropControllerDelegate.html#zipToNextRow--">zipToNextRow</a></span>()</code>
<div class="block">Causes the board to zip quickly to the next row.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.threerings.puzzle.client.PuzzleControllerDelegate">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.threerings.puzzle.client.<a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html" title="class in com.threerings.puzzle.client">PuzzleControllerDelegate</a></h3>
<code><a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#didLeavePlace-com.threerings.crowd.data.PlaceObject-">didLeavePlace</a>, <a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#playerKnockedOut-int-">playerKnockedOut</a>, <a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#setChatting-boolean-">setChatting</a>, <a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#willEnterPlace-com.threerings.crowd.data.PlaceObject-">willEnterPlace</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.threerings.parlor.game.client.GameControllerDelegate">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.threerings.parlor.game.client.<a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html" title="class in com.threerings.parlor.game.client">GameControllerDelegate</a></h3>
<code><a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html#gameDidStart--">gameDidStart</a>, <a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html#gameWasCancelled--">gameWasCancelled</a>, <a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html#gameWillReset--">gameWillReset</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.threerings.crowd.client.PlaceControllerDelegate">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.threerings.crowd.client.PlaceControllerDelegate</h3>
<code>mayLeavePlace</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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://docs.oracle.com/javase/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></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="MOVE_BLOCK_LEFT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MOVE_BLOCK_LEFT</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MOVE_BLOCK_LEFT</pre>
<div class="block">The action command for moving the block to the left.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.MOVE_BLOCK_LEFT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MOVE_BLOCK_RIGHT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MOVE_BLOCK_RIGHT</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MOVE_BLOCK_RIGHT</pre>
<div class="block">The action command for moving the block to the right.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.MOVE_BLOCK_RIGHT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ROTATE_BLOCK_CCW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROTATE_BLOCK_CCW</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ROTATE_BLOCK_CCW</pre>
<div class="block">The action command for rotating the block counter-clockwise.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.ROTATE_BLOCK_CCW">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ROTATE_BLOCK_CW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROTATE_BLOCK_CW</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ROTATE_BLOCK_CW</pre>
<div class="block">The action command for rotating the block clockwise.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.ROTATE_BLOCK_CW">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="START_DROP_BLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>START_DROP_BLOCK</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> START_DROP_BLOCK</pre>
<div class="block">The action command for starting to dropping the block.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.START_DROP_BLOCK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="END_DROP_BLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>END_DROP_BLOCK</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> END_DROP_BLOCK</pre>
<div class="block">The action command for ending dropping the block.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.END_DROP_BLOCK">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="RAISE_ROW">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RAISE_ROW</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> RAISE_ROW</pre>
<div class="block">The action command for raising the next rising row.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#com.threerings.puzzle.drop.client.DropControllerDelegate.RAISE_ROW">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DropControllerDelegate-com.threerings.puzzle.client.PuzzleController-com.threerings.puzzle.drop.data.DropLogic-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DropControllerDelegate</h4>
<pre>public&nbsp;DropControllerDelegate(<a href="../../../../../com/threerings/puzzle/client/PuzzleController.html" title="class in com.threerings.puzzle.client">PuzzleController</a>&nbsp;ctrl,
<a href="../../../../../com/threerings/puzzle/drop/data/DropLogic.html" title="interface in com.threerings.puzzle.drop.data">DropLogic</a>&nbsp;logic)</pre>
<div class="block">Creates a delegate with the specified drop game logic and controller.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init-com.threerings.crowd.util.CrowdContext-com.threerings.crowd.data.PlaceConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(com.threerings.crowd.util.CrowdContext&nbsp;ctx,
com.threerings.crowd.data.PlaceConfig&nbsp;config)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>init</code>&nbsp;in class&nbsp;<code>com.threerings.crowd.client.PlaceControllerDelegate</code></dd>
</dl>
</li>
</ul>
<a name="gameDidEnd--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gameDidEnd</h4>
<pre>public&nbsp;void&nbsp;gameDidEnd()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html#gameDidEnd--">GameControllerDelegate</a></code></span></div>
<div class="block">Called when the game transitions to the <code>GAME_OVER</code>
state. This happens when the game reaches some end condition by
normal means (is not cancelled or aborted).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html#gameDidEnd--">gameDidEnd</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/threerings/parlor/game/client/GameControllerDelegate.html" title="class in com.threerings.parlor.game.client">GameControllerDelegate</a></code></dd>
</dl>
</li>
</ul>
<a name="handleAction-java.awt.event.ActionEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleAction</h4>
<pre>public&nbsp;boolean&nbsp;handleAction(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/event/ActionEvent.html?is-external=true" title="class or interface in java.awt.event">ActionEvent</a>&nbsp;action)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>handleAction</code>&nbsp;in class&nbsp;<code>com.threerings.crowd.client.PlaceControllerDelegate</code></dd>
</dl>
</li>
</ul>
<a name="setBoard-com.threerings.puzzle.data.Board-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBoard</h4>
<pre>public&nbsp;void&nbsp;setBoard(<a href="../../../../../com/threerings/puzzle/data/Board.html" title="class in com.threerings.puzzle.data">Board</a>&nbsp;board)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#setBoard-com.threerings.puzzle.data.Board-">PuzzleControllerDelegate</a></code></span></div>
<div class="block">Called when the puzzle controller sets up a new board for the player.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html#setBoard-com.threerings.puzzle.data.Board-">setBoard</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/threerings/puzzle/client/PuzzleControllerDelegate.html" title="class in com.threerings.puzzle.client">PuzzleControllerDelegate</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>board</code> - the newly initialized and ready-to-go board.</dd>
</dl>
</li>
</ul>
<a name="updateSelfSummary--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSelfSummary</h4>
<pre>public&nbsp;void&nbsp;updateSelfSummary()</pre>
<div class="block">Updates the player's own local board summary to reflect the local copy of the player's
board which is likely to be more up to date than the server-side board from which all other
player board summaries originate.</div>
</li>
</ul>
<a name="tick-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tick</h4>
<pre>public&nbsp;void&nbsp;tick(long&nbsp;tickStamp)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>tick</code>&nbsp;in interface&nbsp;<code>com.threerings.media.FrameParticipant</code></dd>
</dl>
</li>
</ul>
<a name="getComponent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComponent</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</a>&nbsp;getComponent()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>getComponent</code>&nbsp;in interface&nbsp;<code>com.threerings.media.FrameParticipant</code></dd>
</dl>
</li>
</ul>
<a name="needsPaint--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>needsPaint</h4>
<pre>public&nbsp;boolean&nbsp;needsPaint()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>needsPaint</code>&nbsp;in interface&nbsp;<code>com.threerings.media.FrameParticipant</code></dd>
</dl>
</li>
</ul>
<a name="setRisingPaused-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRisingPaused</h4>
<pre>public&nbsp;void&nbsp;setRisingPaused(boolean&nbsp;paused)</pre>
<div class="block">Sets whether the board rising is paused.</div>
</li>
</ul>
<a name="zipToNextRow--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>zipToNextRow</h4>
<pre>public&nbsp;void&nbsp;zipToNextRow()</pre>
<div class="block">Causes the board to zip quickly to the next row.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DropControllerDelegate.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/threerings/puzzle/drop/client/DropBoardView.html" title="class in com.threerings.puzzle.drop.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/threerings/puzzle/drop/client/DropPanel.html" title="interface in com.threerings.puzzle.drop.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/threerings/puzzle/drop/client/DropControllerDelegate.html" target="_top">Frames</a></li>
<li><a href="DropControllerDelegate.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2015. All rights reserved.</small></p>
</body>
</html>