org.jrabbit.base.graphics.skins
Interface DynamicSkinned

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

public interface DynamicSkinned
extends Skinned

The skin of a DynamicSkinned is intended to be changeable; replacing one skin with another should not cause any problems in the object's functionality. If doing so is against the object's implementation, the object should simply implement Skinned instead.

Author:
Chris Molini

Method Summary
 void setSkin(Skin skin)
          Changes the Skin this object uses for rendering.
 
Methods inherited from interface org.jrabbit.base.graphics.skins.Skinned
skin
 
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

setSkin

void setSkin(Skin skin)
Changes the Skin this object uses for rendering.

Parameters:
skin - The new Skin to use.