Class RangeCircle

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

public class RangeCircle extends Shape
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.prineside.tdi2.Shape

    Shape.Factory<T extends Shape>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(com.badlogic.gdx.graphics.g2d.Batch batch)
     
    com.badlogic.gdx.graphics.Color
     
    float
     
    float
     
    float
     
    float
     
    void
    Resets the object for reuse.
    void
    setup(float x, float y, float minRadius, float maxRadius, com.badlogic.gdx.graphics.Color color)
    При minRadius <= 0 внутренний круг рисоваться не будет

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)
      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.