Tile sets that are specified as object tile sets now always produce
object tiles. If no dimensions are specified for an object, it defaults to 1x1 unit tile units. The media package supports specification of tilesets as object tile sets via the "layer" attribute. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@450 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
//
|
||||
// $Id: TileSetParser.java,v 1.5 2001/08/16 23:14:20 mdb Exp $
|
||||
// $Id: TileSetParser.java,v 1.6 2001/10/12 16:36:58 shaper Exp $
|
||||
|
||||
package com.threerings.media.tile;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* The TileSetParser is a general interface to be implemented by
|
||||
* classes that load tileset descriptions in a particular format from
|
||||
* a file.
|
||||
* The tile set parser interface is intended to be implemented by
|
||||
* classes that load tileset descriptions from a file.
|
||||
*/
|
||||
public interface TileSetParser
|
||||
{
|
||||
/**
|
||||
* Read tileset description data from the specified file and
|
||||
* construct TileSet objects to suit. Return an ArrayList of all
|
||||
* TileSet objects constructed, or a zero-length list if no
|
||||
* construct {@link TileSet} objects to suit. Return a list of
|
||||
* all tile set objects constructed, or a zero-length list if no
|
||||
* tileset descriptions were fully parsed.
|
||||
*/
|
||||
public ArrayList loadTileSets (String fname) throws IOException;
|
||||
public List loadTileSets (String fname) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user