Moved in the setRateGame() method from PuzzleManager; have it set the
rated flag in the gameconfig. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1418 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: GameManager.java,v 1.29 2002/04/19 21:40:38 ray Exp $
|
// $Id: GameManager.java,v 1.30 2002/06/01 21:21:20 ray Exp $
|
||||||
|
|
||||||
package com.threerings.parlor.game;
|
package com.threerings.parlor.game;
|
||||||
|
|
||||||
@@ -90,6 +90,16 @@ public class GameManager extends PlaceManager
|
|||||||
_AIs[pidx] = skill;
|
_AIs[pidx] = skill;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets whether this game is to be rated. All games are unrated by
|
||||||
|
* default.
|
||||||
|
*/
|
||||||
|
// TODO: obsolete this method? It's used by SailingVessel in the yocode.
|
||||||
|
public void setRateGame (boolean rated)
|
||||||
|
{
|
||||||
|
_gconfig.rated = rated;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of the usernames of the players in this game.
|
* Returns an array of the usernames of the players in this game.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user