Package com.prineside.tdi2.ui.actors
Class RadialSprite
java.lang.Object
com.prineside.tdi2.ui.actors.RadialSprite
- All Implemented Interfaces:
Drawable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidDraws this drawable at the specified bounds.voidfloatgetAngle()floatfloatfloatfloatfloatfloatvoidsetAngle(float angle) voidsetBottomHeight(float bottomHeight) voidsetLeftWidth(float leftWidth) voidsetMinHeight(float minHeight) voidsetMinWidth(float minWidth) voidsetOrigin(float x, float y) voidsetRightWidth(float rightWidth) voidsetScale(float x, float y) voidsetTextureRegion(TextureRegion textureRegion) voidsetTopHeight(float topHeight)
-
Constructor Details
-
RadialSprite
-
-
Method Details
-
draw
-
draw
-
setOrigin
public void setOrigin(float x, float y) -
setScale
public void setScale(float x, float y) -
draw
Description copied from interface:DrawableDraws this drawable at the specified bounds. The drawable should be tinted withBatch.getColor(), possibly by mixing its own color. -
getAngle
public float getAngle() -
setAngle
public void setAngle(float angle) -
getLeftWidth
public float getLeftWidth()- Specified by:
getLeftWidthin interfaceDrawable
-
setLeftWidth
public void setLeftWidth(float leftWidth) - Specified by:
setLeftWidthin interfaceDrawable
-
getRightWidth
public float getRightWidth()- Specified by:
getRightWidthin interfaceDrawable
-
setRightWidth
public void setRightWidth(float rightWidth) - Specified by:
setRightWidthin interfaceDrawable
-
getTopHeight
public float getTopHeight()- Specified by:
getTopHeightin interfaceDrawable
-
setTopHeight
public void setTopHeight(float topHeight) - Specified by:
setTopHeightin interfaceDrawable
-
getBottomHeight
public float getBottomHeight()- Specified by:
getBottomHeightin interfaceDrawable
-
setBottomHeight
public void setBottomHeight(float bottomHeight) - Specified by:
setBottomHeightin interfaceDrawable
-
getMinWidth
public float getMinWidth()- Specified by:
getMinWidthin interfaceDrawable
-
setMinWidth
public void setMinWidth(float minWidth) - Specified by:
setMinWidthin interfaceDrawable
-
getMinHeight
public float getMinHeight()- Specified by:
getMinHeightin interfaceDrawable
-
setMinHeight
public void setMinHeight(float minHeight) - Specified by:
setMinHeightin interfaceDrawable
-
getTexture
-
setTextureRegion
-