Moved sprite stuff into media package, removed coupling between miso stuff
and sprite stuff by added some interfaces in the sprite stuff and implementing them with the miso stuff. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@245 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
//
|
||||
// $Id: SceneView.java,v 1.9 2001/08/02 20:43:03 shaper Exp $
|
||||
// $Id: SceneView.java,v 1.10 2001/08/14 23:35:22 mdb Exp $
|
||||
|
||||
package com.threerings.miso.scene;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.threerings.miso.sprite.Path;
|
||||
import com.threerings.miso.sprite.Sprite;
|
||||
import com.threerings.media.sprite.*;
|
||||
import com.threerings.miso.tile.Tile;
|
||||
|
||||
/**
|
||||
@@ -16,7 +14,7 @@ import com.threerings.miso.tile.Tile;
|
||||
* classes that provide a view of a given scene by drawing the scene
|
||||
* contents onto a particular GUI component.
|
||||
*/
|
||||
public interface SceneView
|
||||
public interface SceneView extends AnimatedView
|
||||
{
|
||||
/**
|
||||
* Render the scene to the given graphics context.
|
||||
@@ -32,14 +30,6 @@ public interface SceneView
|
||||
*/
|
||||
public void setScene (Scene scene);
|
||||
|
||||
/**
|
||||
* Invalidate a list of rectangles in screen pixel coordinates in
|
||||
* the scene view for later repainting.
|
||||
*
|
||||
* @param rects the list of <code>java.awt.Rectangle</code> objects.
|
||||
*/
|
||||
public void invalidateRects (ArrayList rects);
|
||||
|
||||
/**
|
||||
* Return a Path object detailing a valid path for the given
|
||||
* sprite to take in the scene to get from its current position to
|
||||
|
||||
Reference in New Issue
Block a user