Add in @Overrides across the board, clean up the comments around them some, and remove
unneeded imports. I've got partially completed patches for narya & vilya, too, but nenya was the only one that wound up in a decent state after a friday evening puttering at it, killing time waiting on other things to finish. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@572 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -36,26 +36,26 @@ import com.threerings.media.tile.util.TileSetTrimmer;
|
||||
*/
|
||||
public class TrimmedTileSet extends TileSet
|
||||
{
|
||||
// documentation inherited
|
||||
@Override
|
||||
public int getTileCount ()
|
||||
{
|
||||
return _obounds.length;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
public Rectangle computeTileBounds (int tileIndex, Rectangle bounds)
|
||||
{
|
||||
bounds.setBounds(_obounds[tileIndex]);
|
||||
return bounds;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
protected Tile createTile ()
|
||||
{
|
||||
return new TrimmedTile();
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
@Override
|
||||
protected void initTile (Tile tile, int tileIndex, Colorization[] zations)
|
||||
{
|
||||
super.initTile(tile, tileIndex, zations);
|
||||
|
||||
Reference in New Issue
Block a user