Package com.prineside.tdi2.shapes
Class RangeCircle
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.RangeCircle
- All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Shape
Shape.Factory<T extends Shape> -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch) com.badlogic.gdx.graphics.ColorgetColor()floatfloatfloatgetX()floatgetY()voidreset()Resets the object for reuse.voidsetup(float x, float y, float minRadius, float maxRadius, com.badlogic.gdx.graphics.Color color) При minRadius <= 0 внутренний круг рисоваться не будет
-
Method Details
-
setup
public void setup(float x, float y, float minRadius, float maxRadius, com.badlogic.gdx.graphics.Color color) При minRadius <= 0 внутренний круг рисоваться не будет -
getX
public float getX() -
getY
public float getY() -
getMinRadius
public float getMinRadius() -
getMaxRadius
public float getMaxRadius() -
getColor
public com.badlogic.gdx.graphics.Color getColor() -
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch) -
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.PoolableResets the object for reuse. Object references should be nulled and fields may be set to default values.
-