Initial work on reading and writing scenes to XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@113 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
//
|
||||
// $Id: TileSetParser.java,v 1.3 2001/07/23 18:52:51 shaper Exp $
|
||||
// $Id: TileSetParser.java,v 1.4 2001/07/23 22:31:48 shaper Exp $
|
||||
|
||||
package com.threerings.miso.tile;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* An interface to be implemented by classes that wish to provide a
|
||||
* general interface to load tileset description information from an
|
||||
* input stream.
|
||||
* The TileSetParser is a general interface to be implemented by
|
||||
* classes that load tileset descriptions in a particular format from
|
||||
* a file.
|
||||
*/
|
||||
public interface TileSetParser
|
||||
{
|
||||
/**
|
||||
* Read tileset description data from the given input stream and
|
||||
* 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 array if no
|
||||
* TileSet objects constructed, or a zero-length list if no
|
||||
* tileset descriptions were fully parsed.
|
||||
*/
|
||||
public ArrayList loadTileSets (InputStream tis) throws IOException;
|
||||
public ArrayList loadTileSets (String fname) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user