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 TypeMethodDescriptionvoid
void
Draws this drawable at the specified bounds.void
float
getAngle()
float
float
float
float
float
float
void
setAngle
(float angle) void
setBottomHeight
(float bottomHeight) void
setLeftWidth
(float leftWidth) void
setMinHeight
(float minHeight) void
setMinWidth
(float minWidth) void
setOrigin
(float x, float y) void
setRightWidth
(float rightWidth) void
setScale
(float x, float y) void
setTextureRegion
(TextureRegion textureRegion) void
setTopHeight
(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:Drawable
Draws 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:
getLeftWidth
in interfaceDrawable
-
setLeftWidth
public void setLeftWidth(float leftWidth) - Specified by:
setLeftWidth
in interfaceDrawable
-
getRightWidth
public float getRightWidth()- Specified by:
getRightWidth
in interfaceDrawable
-
setRightWidth
public void setRightWidth(float rightWidth) - Specified by:
setRightWidth
in interfaceDrawable
-
getTopHeight
public float getTopHeight()- Specified by:
getTopHeight
in interfaceDrawable
-
setTopHeight
public void setTopHeight(float topHeight) - Specified by:
setTopHeight
in interfaceDrawable
-
getBottomHeight
public float getBottomHeight()- Specified by:
getBottomHeight
in interfaceDrawable
-
setBottomHeight
public void setBottomHeight(float bottomHeight) - Specified by:
setBottomHeight
in interfaceDrawable
-
getMinWidth
public float getMinWidth()- Specified by:
getMinWidth
in interfaceDrawable
-
setMinWidth
public void setMinWidth(float minWidth) - Specified by:
setMinWidth
in interfaceDrawable
-
getMinHeight
public float getMinHeight()- Specified by:
getMinHeight
in interfaceDrawable
-
setMinHeight
public void setMinHeight(float minHeight) - Specified by:
setMinHeight
in interfaceDrawable
-
getTexture
-
setTextureRegion
-