Moved some bundle stuff into BundleUtil. Added methods to support
post-parsing tileset validation. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@699 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ObjectTileSet.java,v 1.2 2001/11/18 04:09:21 mdb Exp $
|
||||
// $Id: ObjectTileSet.java,v 1.3 2001/11/29 21:57:31 mdb Exp $
|
||||
|
||||
package com.threerings.media.tile;
|
||||
|
||||
@@ -40,6 +40,26 @@ public class ObjectTileSet extends SwissArmyTileSet
|
||||
_oheights[tileIndex] = objHeight;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the widths (in unit tile count) of the objects in this
|
||||
* tileset. This must be accompanied by a call to {@link
|
||||
* #setObjectHeights}.
|
||||
*/
|
||||
public void setObjectWidths (int[] objectWidths)
|
||||
{
|
||||
_owidths = objectWidths;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the heights (in unit tile count) of the objects in this
|
||||
* tileset. This must be accompanied by a call to {@link
|
||||
* #setObjectWidths}.
|
||||
*/
|
||||
public void setObjectHeights (int[] objectHeights)
|
||||
{
|
||||
_oheights = objectHeights;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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