org.jrabbit.base.graphics.skins
Interface Skinned

All Superinterfaces:
Dimensioned, Renderable
All Known Subinterfaces:
DynamicSkinned
All Known Implementing Classes:
Background, SkinnedProfilerEntity, Sprite

public interface Skinned
extends Renderable, Dimensioned

A Skinned object uses a Skin to render itself and manage its Dimensions. If an object implements Skinned, it's assumed that the Skin used should not be changed outside of its own methods. If the Skin can change, the object should instead implement DynamicSkinned.

Author:
Chris Molini

Method Summary
 Skin skin()
          Accesses the Skin currently being used.
 
Methods inherited from interface org.jrabbit.base.core.types.Renderable
render
 
Methods inherited from interface org.jrabbit.base.graphics.types.Dimensioned
height, width
 

Method Detail

skin

Skin skin()
Accesses the Skin currently being used.

Returns:
The Skin used for rendering and dimensional data.