org.scilab.forge.scirenderer.examples
Class Sprites.SpritesDrawer

java.lang.Object
  extended by org.scilab.forge.scirenderer.examples.Sprites.SpritesDrawer
All Implemented Interfaces:
Drawer
Enclosing class:
Sprites

public static class Sprites.SpritesDrawer
extends java.lang.Object
implements Drawer

Sprites drawer.


Constructor Summary
Sprites.SpritesDrawer(Canvas canvas, MouseRotationAdapter mra)
          Constructor.
 
Method Summary
 void draw(DrawingTools drawingTools)
          Ask this drawer to draw with the given drawing tools.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sprites.SpritesDrawer

public Sprites.SpritesDrawer(Canvas canvas,
                             MouseRotationAdapter mra)
Constructor.

Parameters:
canvas - the canvas where the sprites are drawn.
mra - the mouse listener used for the interaction.
Method Detail

draw

public void draw(DrawingTools drawingTools)
Description copied from interface: Drawer
Ask this drawer to draw with the given drawing tools.

Specified by:
draw in interface Drawer
Parameters:
drawingTools - the givens drawing tools.