Documentation fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@990 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: TurnGameManagerDelegate.java,v 1.1 2002/02/12 06:57:30 mdb Exp $
|
// $Id: TurnGameManagerDelegate.java,v 1.2 2002/02/12 07:01:54 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.parlor.turn;
|
package com.threerings.parlor.turn;
|
||||||
|
|
||||||
@@ -19,7 +19,11 @@ import com.threerings.parlor.util.MathUtil;
|
|||||||
* endTurn()
|
* endTurn()
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* They must also implement the {@link TurnGameManager} interface.
|
* They must also implement the {@link TurnGameManager} interface. If the
|
||||||
|
* game requires specialized behavior from its delegate, it can extend the
|
||||||
|
* delegate and override the many methods that have been provided for just
|
||||||
|
* such a purpose (e.g. {@link #setFirstTurnHolder}, {@link
|
||||||
|
* #setNextTurnHolder}).
|
||||||
*/
|
*/
|
||||||
public class TurnGameManagerDelegate
|
public class TurnGameManagerDelegate
|
||||||
{
|
{
|
||||||
@@ -108,10 +112,10 @@ public class TurnGameManagerDelegate
|
|||||||
* turn, the game manager should arrange for {@link
|
* turn, the game manager should arrange for {@link
|
||||||
* #setNextTurnHolder} to set the {@link #_turnIdx} field to -1 which
|
* #setNextTurnHolder} to set the {@link #_turnIdx} field to -1 which
|
||||||
* will cause us not to start the next turn. It can then call {@link
|
* will cause us not to start the next turn. It can then call {@link
|
||||||
* #endGame} if the game is over or do whatever else it needs to do
|
* GameManager#endGame} if the game is over or do whatever else it
|
||||||
* outside the context of the turn flow. To start things back up
|
* needs to do outside the context of the turn flow. To start things
|
||||||
* again it would set {@link #_turnIdx} to the next turn holder and
|
* back up again it would set {@link #_turnIdx} to the next turn
|
||||||
* call {@link #startTurn} itself.
|
* holder and call {@link #startTurn} itself.
|
||||||
*/
|
*/
|
||||||
public void endTurn ()
|
public void endTurn ()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
//
|
//
|
||||||
// $Id: TurnGameObject.java,v 1.2 2002/02/12 06:57:30 mdb Exp $
|
// $Id: TurnGameObject.java,v 1.3 2002/02/12 07:01:54 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.parlor.turn;
|
package com.threerings.parlor.turn;
|
||||||
|
|
||||||
|
import com.threerings.parlor.game.GameObject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Games that wish to support turn-based play must implement this
|
* Games that wish to support turn-based play must implement this
|
||||||
* interface with their {@link GameObject}.
|
* interface with their {@link GameObject}.
|
||||||
|
|||||||
Reference in New Issue
Block a user