Package com.prineside.tdi2.ui.actors
Class RadialSprite
java.lang.Object
com.prineside.tdi2.ui.actors.RadialSprite
- All Implemented Interfaces:
 com.badlogic.gdx.scenes.scene2d.utils.Drawable
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidcalculate(float x, float y, float width, float height, float angle, float u0, float v0, float u1, float v1) voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float angle) voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) Draws this drawable at the specified bounds.voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height, float angle) floatgetAngle()floatfloatfloatfloatfloatcom.badlogic.gdx.graphics.TexturefloatvoidsetAngle(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(com.badlogic.gdx.graphics.g2d.TextureRegion textureRegion) voidsetTopHeight(float topHeight)  
- 
Constructor Details
- 
RadialSprite
public RadialSprite(com.badlogic.gdx.graphics.g2d.TextureRegion textureRegion)  
 - 
 - 
Method Details
- 
calculate
protected void calculate(float x, float y, float width, float height, float angle, float u0, float v0, float u1, float v1)  - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height, float angle)  - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float angle)  - 
setOrigin
public void setOrigin(float x, float y)  - 
setScale
public void setScale(float x, float y)  - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) Description copied from interface:com.badlogic.gdx.scenes.scene2d.utils.DrawableDraws this drawable at the specified bounds. The drawable should be tinted withBatch.getColor(), possibly by mixing its own color.- Specified by:
 drawin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getAngle
public float getAngle() - 
setAngle
public void setAngle(float angle)  - 
getLeftWidth
public float getLeftWidth()- Specified by:
 getLeftWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setLeftWidth
public void setLeftWidth(float leftWidth) - Specified by:
 setLeftWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getRightWidth
public float getRightWidth()- Specified by:
 getRightWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setRightWidth
public void setRightWidth(float rightWidth) - Specified by:
 setRightWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getTopHeight
public float getTopHeight()- Specified by:
 getTopHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setTopHeight
public void setTopHeight(float topHeight) - Specified by:
 setTopHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getBottomHeight
public float getBottomHeight()- Specified by:
 getBottomHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setBottomHeight
public void setBottomHeight(float bottomHeight) - Specified by:
 setBottomHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getMinWidth
public float getMinWidth()- Specified by:
 getMinWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setMinWidth
public void setMinWidth(float minWidth) - Specified by:
 setMinWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getMinHeight
public float getMinHeight()- Specified by:
 getMinHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
setMinHeight
public void setMinHeight(float minHeight) - Specified by:
 setMinHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Drawable
 - 
getTexture
public com.badlogic.gdx.graphics.Texture getTexture() - 
setTextureRegion
public void setTextureRegion(com.badlogic.gdx.graphics.g2d.TextureRegion textureRegion)  
 -