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