Canned vestigal population crap.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2719 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-07-22 07:29:11 +00:00
parent 493c75b865
commit ef2d31db0b
@@ -1,5 +1,5 @@
//
// $Id: SceneSummary.java,v 1.5 2002/12/20 23:41:27 mdb Exp $
// $Id: SceneSummary.java,v 1.6 2003/07/22 07:29:11 mdb Exp $
package com.threerings.whirled.zone.data;
@@ -12,9 +12,9 @@ import com.threerings.io.Streamable;
/**
* The scene summary class is used to provide info about the connected
* group of scenes that make up an island. The group of scenes that make
* up an island is a self-contained set of scenes, connected with one
* another (by portals) but not to any scenes outside the group.
* group of scenes that make up a zone. The group of scenes that make up a
* zone is a self-contained set of scenes, connected with one another (by
* portals) but not to any scenes outside the group.
*/
public class SceneSummary implements Streamable
{
@@ -32,24 +32,6 @@ public class SceneSummary implements Streamable
* direction constants are as defined in {@link DirectionCodes}. */
public int[] neighborDirs;
/**
* Returns the population of this scene summary instance. This is
* synchronized because the population can be updated by a background
* thread.
*/
public synchronized int getPopulation ()
{
return _population;
}
/**
* Used to set the population of this scene summary instance.
*/
public synchronized void setPopulation (int population)
{
_population = population;
}
/**
* Generates a string representation of this instance.
*/
@@ -57,10 +39,6 @@ public class SceneSummary implements Streamable
{
return "[sceneId=" + sceneId + ", name=" + name +
", neighbors=" + StringUtil.toString(neighbors) +
", neighborDirs=" + DirectionUtil.toString(neighborDirs) +
", pop=" + _population + "]";
", neighborDirs=" + DirectionUtil.toString(neighborDirs) + "]";
}
/** The number of people currently occupying this scene. */
protected int _population;
}