Initial working version of many miso classes. The beginnings of some

of our tile- and scene-related machinations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@44 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-07-12 22:38:03 +00:00
parent c8af354d2d
commit 672fecf682
16 changed files with 848 additions and 0 deletions
@@ -0,0 +1,30 @@
//
// $Id: SceneView.java,v 1.1 2001/07/12 22:38:03 shaper Exp $
package com.threerings.cocktail.miso.scene;
import java.awt.Component;
import java.awt.Graphics;
/**
* An interface to be implemented by classes that provide a view of a
* given scene by drawing the scene contents onto a particular GUI
* component.
*/
public interface SceneView
{
/**
* Render the scene to the given graphics context.
*/
public void paint (Graphics g);
/**
* Set the scene that we're rendering.
*/
public void setScene (Scene scene);
/**
* Set the target component to which we're rendering.
*/
public void setTarget (Component target);
}