cage.graphics
Interface VisualItem

All Known Implementing Classes:
Animation, Image

public interface VisualItem

The Interface VisualItem represents something that can be displayed on screen. In Cage this is an Image or Animation.


Method Summary
 int getHeight()
          Gets the height.
 org.minueto.image.MinuetoImage getImage()
          Gets the image.
 java.lang.String getName()
          Gets the name.
 int getWidth()
          Gets the width.
 void scale(double xScale, double yScale)
          Scale.
 

Method Detail

scale

void scale(double xScale,
           double yScale)
Scale.

Parameters:
xScale - the x scale
yScale - the y scale

getName

java.lang.String getName()
Gets the name.

Returns:
the name

getImage

org.minueto.image.MinuetoImage getImage()
Gets the image.

Returns:
the image

getWidth

int getWidth()
Gets the width.

Returns:
the width

getHeight

int getHeight()
Gets the height.

Returns:
the height