org.jrabbit.base.graphics.types
Interface Dimensioned

All Known Subinterfaces:
DynamicSkinned, ProfilerEntity, Skin, Skinned
All Known Implementing Classes:
AnimatedParticle, AnimatedSkin, AnimatedSprite, Background, BaseProfilerEntity, BaseSprite, BaseWindowController, CanvasWindowController, CircleSkin, DesktopWindowController, ExplosionParticle, FontBasedProfilerEntity, GenericParticle, ImageSkin, ImageSprite, Particle, ParticleSprite, ParticleSprite.Images, ParticleSprite.Transforming, PolygonSkin, PrimitiveSkin, ProfilerMessage, ProfilerMessages, RegPolygonSkin, RenderedTextSkin, SkinnedProfilerEntity, Spatial, SprayParticle, Sprite, SquareSkin, SubImageSkin, SwarmParticle, SystemInfo, TextProfilerEntity, TextSkin, TextSprite, TriangleSkin, WindowController

public interface Dimensioned

An object that is Dimensioned is viewed as having a "space" in the game world. For simplicity, this is conceived of as a width and a height. NOTE: The width and height values do not need to be the "final" dimensions, only the base values - it's intended that a Dimensioned object can also be scaled beyond this, so it's "effective" width and height may be more or less.

Author:
Chris Molini

Method Summary
 float height()
          Learns about the dimensions of the object.
 float width()
          Learns about the dimensions of the object.
 

Method Detail

width

float width()
Learns about the dimensions of the object.

Returns:
The base width of the Dimensioned object.

height

float height()
Learns about the dimensions of the object.

Returns:
The base height of the Dimensioned object.