Updated comments.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@230 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-08-13 15:00:24 +00:00
parent 546e39b0bb
commit d54d562992
8 changed files with 73 additions and 51 deletions
@@ -1,5 +1,5 @@
//
// $Id: DisplayMisoSceneImpl.java,v 1.25 2001/08/13 05:42:36 shaper Exp $
// $Id: DisplayMisoSceneImpl.java,v 1.26 2001/08/13 15:00:24 shaper Exp $
package com.threerings.miso.scene;
@@ -65,11 +65,12 @@ public class Scene
_sid = SID_INVALID;
_name = DEF_SCENE_NAME;
_locations = new ArrayList();
_clusters = new ArrayList();
_exits = new ArrayList();
tiles = new Tile[TILE_WIDTH][TILE_HEIGHT][NUM_LAYERS];
tiles = new Tile[TILE_WIDTH][TILE_HEIGHT][NUM_LAYERS];
_deftile = _tilemgr.getTile(deftsid, deftid);
for (int xx = 0; xx < TILE_WIDTH; xx++) {
for (int yy = 0; yy < TILE_HEIGHT; yy++) {
@@ -1,5 +1,5 @@
//
// $Id: XMLSceneParser.java,v 1.9 2001/08/13 05:42:36 shaper Exp $
// $Id: XMLSceneParser.java,v 1.10 2001/08/13 15:00:24 shaper Exp $
package com.threerings.miso.scene.xml;
@@ -323,7 +323,7 @@ public class XMLSceneParser extends DefaultHandler
/** The tile manager object for use in constructing scenes. */
protected TileManager _tilemgr;
// temporary storage of scene object values and data
/** Temporary storage of scene object values and data. */
protected StringBuffer _chars;
protected String _scName;
protected ArrayList _scLocations, _scExits, _scClusters;
+19 -18
View File
@@ -1,5 +1,5 @@
//
// $Id: MisoUtil.java,v 1.4 2001/07/24 16:10:19 shaper Exp $
// $Id: MisoUtil.java,v 1.5 2001/08/13 15:00:24 shaper Exp $
package com.threerings.miso.util;
@@ -25,7 +25,7 @@ public class MisoUtil
/**
* Populate the config object with miso configuration values.
*
* @param config the Config object to populate.
* @param config the <code>Config</code> object to populate.
*/
public static void bindProperties (Config config) throws IOException
{
@@ -33,12 +33,12 @@ public class MisoUtil
}
/**
* Create a SceneManager object, reading the class name to
* instantiate from the "miso.scenemgr" config value.
* Create a <code>SceneManager</code> object, reading the class
* name to instantiate from the config object.
*
* @param config the Config object.
* @param config the <code>Config</code> object.
*
* @return the new SceneManager object or null if an error occurred.
* @return the new scene manager object or null if an error occurred.
*/
public static SceneManager
createSceneManager (Config config, TileManager tilemgr)
@@ -59,12 +59,12 @@ public class MisoUtil
}
/**
* Create a TileManager object.
* Create a <code>TileManager</code> object.
*
* @param config the Config object.
* @param config the <code>Config</code> object.
* @param frame the root frame to which images will be rendered.
*
* @return the new TileManager object or null if an error occurred.
* @return the new tile manager object or null if an error occurred.
*/
public static TileManager createTileManager (Config config, Frame frame)
{
@@ -77,9 +77,9 @@ public class MisoUtil
}
/**
* Create a ResourceManager object.
* Create a <code>ResourceManager</code> object.
*
* @return the new ResourceManager object or null if an error occurred.
* @return the new resource manager object or null if an error occurred.
*/
protected static ResourceManager createResourceManager ()
{
@@ -97,13 +97,14 @@ public class MisoUtil
}
/**
* Create a TileSetManager object, reading the class name to
* instantiate from the "miso.tilesetmgr" config value.
* Create a <code>TileSetManager</code> object, reading the class
* name to instantiate from the config object.
*
* @param config the Config object.
* @param imgmgr the ImageManager object from which images are obtained.
* @param config the <code>Config</code> object.
* @param imgmgr the <code>ImageManager</code> object from which
* images are obtained.
*
* @return the new TileSetManager object or null if an error occurred.
* @return the new tileset manager object or null if an error occurred.
*/
protected static TileSetManager
createTileSetManager (Config config, ImageManager imgmgr)
@@ -122,11 +123,11 @@ public class MisoUtil
return tilesetmgr;
}
/** The default SceneManager class name. */
/** The default scene repository class name. */
protected static final String DEF_SCENEREPO =
XMLFileSceneRepository.class.getName();
/** The default TileSetManager class name. */
/** The default tileset manager class name. */
protected static final String DEF_TILESETMGR =
EditableTileSetManager.class.getName();
}