Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@707 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
//
|
||||
// $Id: ObjectTileSet.java,v 1.3 2001/11/29 21:57:31 mdb Exp $
|
||||
// $Id: ObjectTileSet.java,v 1.4 2001/11/29 22:10:42 mdb Exp $
|
||||
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.awt.Image;
|
||||
import java.util.Arrays;
|
||||
|
||||
import com.samskivert.util.StringUtil;
|
||||
import com.threerings.media.ImageManager;
|
||||
|
||||
/**
|
||||
@@ -60,6 +61,14 @@ public class ObjectTileSet extends SwissArmyTileSet
|
||||
_oheights = objectHeights;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
buf.append(", owidths=").append(StringUtil.toString(_owidths));
|
||||
buf.append(", oheights=").append(StringUtil.toString(_oheights));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates instances of {@link ObjectTile}, which can span more than a
|
||||
* single tile's space in a display.
|
||||
|
||||
Reference in New Issue
Block a user