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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user