Mimic TrimmedObjectTileSet's functionality.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@972 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-08-10 22:49:46 +00:00
parent 4a60bbe64a
commit 469d356609
@@ -193,6 +193,22 @@ public class ObjectTileSet extends SwissArmyTileSet
return _zations;
}
/**
* Returns the base width for the specified object index.
*/
public int getBaseWidth (int tileIdx)
{
return _owidths[tileIdx];
}
/**
* Returns the base height for the specified object index.
*/
public int getBaseHeight (int tileIdx)
{
return _oheights[tileIdx];
}
@Override
protected void toString (StringBuilder buf)
{