Class LJ_GDX_ai.Steerable_DA.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.Steerable_DA.LIP
All Implemented Interfaces:
com.badlogic.gdx.ai.steer.Limiter, com.badlogic.gdx.ai.steer.Steerable, com.badlogic.gdx.ai.utils.Location, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_ai.Steerable_DA

public static class LJ_GDX_ai.Steerable_DA.LIP extends InterfaceProxy implements com.badlogic.gdx.ai.steer.Steerable
  • Method Details

    • angleToVector

      public com.badlogic.gdx.math.Vector angleToVector(com.badlogic.gdx.math.Vector p1, float p2)
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Returns the unit vector in the direction of the specified angle expressed in radians.
      Specified by:
      angleToVector in interface com.badlogic.gdx.ai.utils.Location
      Parameters:
      p1 - the output vector.
      p2 - the angle in radians.
      Returns:
      the output vector for chaining.
    • getAngularVelocity

      public float getAngularVelocity()
      Description copied from interface: com.badlogic.gdx.ai.steer.Steerable
      Returns the float value indicating the the angular velocity in radians of this Steerable.
      Specified by:
      getAngularVelocity in interface com.badlogic.gdx.ai.steer.Steerable
    • getBoundingRadius

      public float getBoundingRadius()
      Description copied from interface: com.badlogic.gdx.ai.steer.Steerable
      Returns the bounding radius of this Steerable.
      Specified by:
      getBoundingRadius in interface com.badlogic.gdx.ai.steer.Steerable
    • getLinearVelocity

      public com.badlogic.gdx.math.Vector getLinearVelocity()
      Description copied from interface: com.badlogic.gdx.ai.steer.Steerable
      Returns the vector indicating the linear velocity of this Steerable.
      Specified by:
      getLinearVelocity in interface com.badlogic.gdx.ai.steer.Steerable
    • getMaxAngularAcceleration

      public float getMaxAngularAcceleration()
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Returns the maximum angular acceleration.
      Specified by:
      getMaxAngularAcceleration in interface com.badlogic.gdx.ai.steer.Limiter
    • getMaxAngularSpeed

      public float getMaxAngularSpeed()
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Returns the maximum angular speed.
      Specified by:
      getMaxAngularSpeed in interface com.badlogic.gdx.ai.steer.Limiter
    • getMaxLinearAcceleration

      public float getMaxLinearAcceleration()
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Returns the maximum linear acceleration.
      Specified by:
      getMaxLinearAcceleration in interface com.badlogic.gdx.ai.steer.Limiter
    • getMaxLinearSpeed

      public float getMaxLinearSpeed()
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Returns the maximum linear speed.
      Specified by:
      getMaxLinearSpeed in interface com.badlogic.gdx.ai.steer.Limiter
    • getOrientation

      public float getOrientation()
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Returns the float value indicating the orientation of this location. The orientation is the angle in radians representing the direction that this location is facing.
      Specified by:
      getOrientation in interface com.badlogic.gdx.ai.utils.Location
    • getPosition

      public com.badlogic.gdx.math.Vector getPosition()
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Returns the vector indicating the position of this location.
      Specified by:
      getPosition in interface com.badlogic.gdx.ai.utils.Location
    • getZeroLinearSpeedThreshold

      public float getZeroLinearSpeedThreshold()
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Returns the threshold below which the linear speed can be considered zero. It must be a small positive value near to zero. Usually it is used to avoid updating the orientation when the velocity vector has a negligible length.
      Specified by:
      getZeroLinearSpeedThreshold in interface com.badlogic.gdx.ai.steer.Limiter
    • isTagged

      public boolean isTagged()
      Description copied from interface: com.badlogic.gdx.ai.steer.Steerable
      Returns true if this Steerable is tagged; false otherwise.
      Specified by:
      isTagged in interface com.badlogic.gdx.ai.steer.Steerable
    • newLocation

      public com.badlogic.gdx.ai.utils.Location newLocation()
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Creates a new location.

      This method is used internally to instantiate locations of the correct type parameter T. This technique keeps the API simple and makes the API easier to use with the GWT backend because avoids the use of reflection.

      Specified by:
      newLocation in interface com.badlogic.gdx.ai.utils.Location
      Returns:
      the newly created location.
    • setMaxAngularAcceleration

      public void setMaxAngularAcceleration(float p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Sets the maximum angular acceleration.
      Specified by:
      setMaxAngularAcceleration in interface com.badlogic.gdx.ai.steer.Limiter
    • setMaxAngularSpeed

      public void setMaxAngularSpeed(float p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Sets the maximum angular speed.
      Specified by:
      setMaxAngularSpeed in interface com.badlogic.gdx.ai.steer.Limiter
    • setMaxLinearAcceleration

      public void setMaxLinearAcceleration(float p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Sets the maximum linear acceleration.
      Specified by:
      setMaxLinearAcceleration in interface com.badlogic.gdx.ai.steer.Limiter
    • setMaxLinearSpeed

      public void setMaxLinearSpeed(float p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Sets the maximum linear speed.
      Specified by:
      setMaxLinearSpeed in interface com.badlogic.gdx.ai.steer.Limiter
    • setOrientation

      public void setOrientation(float p1)
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Sets the orientation of this location, i.e. the angle in radians representing the direction that this location is facing.
      Specified by:
      setOrientation in interface com.badlogic.gdx.ai.utils.Location
      Parameters:
      p1 - the orientation in radians
    • setTagged

      public void setTagged(boolean p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Steerable
      Tag/untag this Steerable. This is a generic flag utilized in a variety of ways.
      Specified by:
      setTagged in interface com.badlogic.gdx.ai.steer.Steerable
      Parameters:
      p1 - the boolean value to set
    • setZeroLinearSpeedThreshold

      public void setZeroLinearSpeedThreshold(float p1)
      Description copied from interface: com.badlogic.gdx.ai.steer.Limiter
      Sets the threshold below which the linear speed can be considered zero. It must be a small positive value near to zero. Usually it is used to avoid updating the orientation when the velocity vector has a negligible length.
      Specified by:
      setZeroLinearSpeedThreshold in interface com.badlogic.gdx.ai.steer.Limiter
    • vectorToAngle

      public float vectorToAngle(com.badlogic.gdx.math.Vector p1)
      Description copied from interface: com.badlogic.gdx.ai.utils.Location
      Returns the angle in radians pointing along the specified vector.
      Specified by:
      vectorToAngle in interface com.badlogic.gdx.ai.utils.Location
      Parameters:
      p1 - the vector