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:
Michael Bayne
2001-11-29 21:57:31 +00:00
parent eea46eb827
commit be5428a2f7
5 changed files with 104 additions and 21 deletions
@@ -1,5 +1,5 @@
//
// $Id: UniformTileSet.java,v 1.3 2001/11/18 04:09:21 mdb Exp $
// $Id: UniformTileSet.java,v 1.4 2001/11/29 21:57:31 mdb Exp $
package com.threerings.media.tile;
@@ -41,6 +41,14 @@ public class UniformTileSet extends TileSet
_width = width;
}
/**
* Returns the width of the tiles in this tileset.
*/
public int getWidth ()
{
return _width;
}
/**
* Specifies the height of the tiles in this tileset.
*/
@@ -49,6 +57,14 @@ public class UniformTileSet extends TileSet
_height = height;
}
/**
* Returns the height of the tiles in this tileset.
*/
public int getHeight ()
{
return _height;
}
// documentation inherited
protected Image extractTileImage (int tileId)
{