Class Circle

java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.Circle
All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable

public class Circle extends Shape
  • Method Details

    • getX

      public float getX()
    • getY

      public float getY()
    • getInnerColor

      public float getInnerColor()
    • getOuterColor

      public float getOuterColor()
    • setup

      public void setup(float x, float y, float innerRadius, float outerRadius, int segmentCount, float innerColor, float outerColor)
    • setPosition

      public void setPosition(float x, float y)
    • setPositionAndColor

      public void setPositionAndColor(float x, float y, float innerColor, float outerColor)
    • setColor

      public void setColor(float innerColor, float outerColor)
    • draw

      public void draw(com.badlogic.gdx.graphics.g2d.Batch batch)
      Specified by:
      draw in class Shape
    • reset

      public void reset()
      Description copied from interface: com.badlogic.gdx.utils.Pool.Poolable
      Resets the object for reuse. Object references should be nulled and fields may be set to default values.
    • free

      public void free()