java.lang.Object
com.badlogic.gdx.math.Vector2
me.arcademadness.omni_dungeon.components.Location
All Implemented Interfaces:
com.badlogic.gdx.math.Vector<com.badlogic.gdx.math.Vector2>, Serializable

public class Location extends com.badlogic.gdx.math.Vector2
See Also:
  • Field Summary

    Fields inherited from class com.badlogic.gdx.math.Vector2

    x, X, y, Y, Zero
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Location(float x, float y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    float
     
    float
     
    void
     
    void
    translate(float dx, float dy)
     

    Methods inherited from class com.badlogic.gdx.math.Vector2

    add, add, angle, angle, angleDeg, angleDeg, angleDeg, angleRad, angleRad, angleRad, clamp, cpy, crs, crs, dot, dot, dot, dst, dst, dst, dst2, dst2, dst2, epsilonEquals, epsilonEquals, epsilonEquals, epsilonEquals, equals, fromString, hashCode, hasOppositeDirection, hasSameDirection, idt, interpolate, isCollinear, isCollinear, isCollinearOpposite, isCollinearOpposite, isOnLine, isOnLine, isPerpendicular, isPerpendicular, isUnit, isUnit, isZero, isZero, len, len, len2, len2, lerp, limit, limit2, mul, mulAdd, mulAdd, nor, rotate, rotate90, rotateAround, rotateAroundDeg, rotateAroundRad, rotateDeg, rotateRad, scl, scl, scl, set, set, setAngle, setAngleDeg, setAngleRad, setLength, setLength2, setToRandomDirection, setZero, sub, sub, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Location

      public Location(float x, float y)
    • Location

      public Location()
  • Method Details

    • getX

      public float getX()
    • getY

      public float getY()
    • translate

      public void translate(float dx, float dy)
    • getTileX

      public int getTileX()
    • getTileY

      public int getTileY()
    • set

      public void set(Location loc)