Display and editable miso scenes now take a miso tile manager so that they
can do their fringing business. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1191 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: DisplayMisoSceneImpl.java,v 1.53 2002/03/26 23:35:01 ray Exp $
|
// $Id: DisplayMisoSceneImpl.java,v 1.54 2002/04/06 01:52:34 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene;
|
package com.threerings.miso.scene;
|
||||||
|
|
||||||
@@ -12,11 +12,11 @@ import com.threerings.media.tile.ObjectTile;
|
|||||||
import com.threerings.media.tile.ObjectTileLayer;
|
import com.threerings.media.tile.ObjectTileLayer;
|
||||||
import com.threerings.media.tile.Tile;
|
import com.threerings.media.tile.Tile;
|
||||||
import com.threerings.media.tile.TileLayer;
|
import com.threerings.media.tile.TileLayer;
|
||||||
import com.threerings.media.tile.TileManager;
|
|
||||||
|
|
||||||
import com.threerings.miso.Log;
|
import com.threerings.miso.Log;
|
||||||
import com.threerings.miso.tile.BaseTile;
|
import com.threerings.miso.tile.BaseTile;
|
||||||
import com.threerings.miso.tile.BaseTileLayer;
|
import com.threerings.miso.tile.BaseTileLayer;
|
||||||
|
import com.threerings.miso.tile.MisoTileManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default implementation of the {@link DisplayMisoScene} interface.
|
* The default implementation of the {@link DisplayMisoScene} interface.
|
||||||
@@ -35,7 +35,7 @@ public class DisplayMisoSceneImpl
|
|||||||
* @exception NoSuchTileException thrown if the model references a
|
* @exception NoSuchTileException thrown if the model references a
|
||||||
* tile which is not available via the supplied tile manager.
|
* tile which is not available via the supplied tile manager.
|
||||||
*/
|
*/
|
||||||
public DisplayMisoSceneImpl (MisoSceneModel model, TileManager tmgr)
|
public DisplayMisoSceneImpl (MisoSceneModel model, MisoTileManager tmgr)
|
||||||
throws NoSuchTileException, NoSuchTileSetException
|
throws NoSuchTileException, NoSuchTileSetException
|
||||||
{
|
{
|
||||||
this(model);
|
this(model);
|
||||||
@@ -97,7 +97,7 @@ public class DisplayMisoSceneImpl
|
|||||||
* @exception NoSuchTileException thrown if the model references a
|
* @exception NoSuchTileException thrown if the model references a
|
||||||
* tile which is not available via the supplied tile manager.
|
* tile which is not available via the supplied tile manager.
|
||||||
*/
|
*/
|
||||||
public void setTileManager (TileManager tmgr)
|
public void setTileManager (MisoTileManager tmgr)
|
||||||
throws NoSuchTileException, NoSuchTileSetException
|
throws NoSuchTileException, NoSuchTileSetException
|
||||||
{
|
{
|
||||||
_tmgr = tmgr;
|
_tmgr = tmgr;
|
||||||
@@ -257,7 +257,7 @@ public class DisplayMisoSceneImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** The tile manager from which we load tiles. */
|
/** The tile manager from which we load tiles. */
|
||||||
protected TileManager _tmgr;
|
protected MisoTileManager _tmgr;
|
||||||
|
|
||||||
/** The miso scene model from which we obtain our data. */
|
/** The miso scene model from which we obtain our data. */
|
||||||
protected MisoSceneModel _model;
|
protected MisoSceneModel _model;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: EditableMisoSceneImpl.java,v 1.11 2002/03/26 23:35:02 ray Exp $
|
// $Id: EditableMisoSceneImpl.java,v 1.12 2002/04/06 01:52:34 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene.tools;
|
package com.threerings.miso.scene.tools;
|
||||||
|
|
||||||
@@ -11,9 +11,9 @@ import com.threerings.media.tile.NoSuchTileException;
|
|||||||
import com.threerings.media.tile.NoSuchTileSetException;
|
import com.threerings.media.tile.NoSuchTileSetException;
|
||||||
import com.threerings.media.tile.ObjectTile;
|
import com.threerings.media.tile.ObjectTile;
|
||||||
import com.threerings.media.tile.Tile;
|
import com.threerings.media.tile.Tile;
|
||||||
import com.threerings.media.tile.TileManager;
|
|
||||||
|
|
||||||
import com.threerings.miso.tile.BaseTile;
|
import com.threerings.miso.tile.BaseTile;
|
||||||
|
import com.threerings.miso.tile.MisoTileManager;
|
||||||
|
|
||||||
import com.threerings.miso.scene.DisplayMisoSceneImpl;
|
import com.threerings.miso.scene.DisplayMisoSceneImpl;
|
||||||
import com.threerings.miso.scene.MisoSceneModel;
|
import com.threerings.miso.scene.MisoSceneModel;
|
||||||
@@ -36,7 +36,7 @@ public class EditableMisoSceneImpl
|
|||||||
* @exception NoSuchTileException thrown if the model references a
|
* @exception NoSuchTileException thrown if the model references a
|
||||||
* tile which is not available via the supplied tile manager.
|
* tile which is not available via the supplied tile manager.
|
||||||
*/
|
*/
|
||||||
public EditableMisoSceneImpl (MisoSceneModel model, TileManager tmgr)
|
public EditableMisoSceneImpl (MisoSceneModel model, MisoTileManager tmgr)
|
||||||
throws NoSuchTileException, NoSuchTileSetException
|
throws NoSuchTileException, NoSuchTileSetException
|
||||||
{
|
{
|
||||||
super(model, tmgr);
|
super(model, tmgr);
|
||||||
|
|||||||
Reference in New Issue
Block a user