Load tileset descriptions from an XML file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@57 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// $Id: TileSetParser.java,v 1.1 2001/07/17 17:21:33 shaper Exp $
|
||||
|
||||
package com.threerings.cocktail.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.
|
||||
*/
|
||||
public interface TileSetParser
|
||||
{
|
||||
/**
|
||||
* Return all tileset objects constructed from any previous
|
||||
* parsing activity.
|
||||
*/
|
||||
public ArrayList getTileSets ();
|
||||
|
||||
/**
|
||||
* Construct tileset objects from the tileset description data on
|
||||
* the given input stream. Classes that implement this method
|
||||
* should store the tileset objects for later retrieval via the
|
||||
* <code>getTileSets()</code> method.
|
||||
*/
|
||||
public void loadTileSets (InputStream tis) throws IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user