Fixed bug in saving clusters to XML. Added checkbox to editor to
allow display of locations and cluster indexes. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@212 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
//
|
||||
// $Id: Cluster.java,v 1.1 2001/08/10 01:31:25 shaper Exp $
|
||||
// $Id: Cluster.java,v 1.2 2001/08/10 21:17:07 shaper Exp $
|
||||
|
||||
package com.threerings.miso.scene;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
/**
|
||||
* A <code>Cluster</code> is a gathering of <code>Location</code> objects
|
||||
* that represent a logical grouping for the purposes of display and
|
||||
@@ -72,6 +74,14 @@ public class Cluster
|
||||
return _locations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a string representation of this object.
|
||||
*/
|
||||
public String toString ()
|
||||
{
|
||||
return StringUtil.toString(_locations);
|
||||
}
|
||||
|
||||
/** The list of locations in this cluster. */
|
||||
protected ArrayList _locations;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user