Class Projectile

    • Constructor Detail

      • Projectile

        public Projectile​(java.lang.Object reference)
        Note: This shouldn't be used by API users, it's an internal constructor.
    • Method Detail

      • getEndCycle

        public int getEndCycle()
      • getStartCycle

        public int getStartCycle()
      • getZ

        public int getZ()
        Description copied from interface: Locatable
        Gets Z coordinate of the given object.
        Specified by:
        getZ in interface Locatable
        Returns:
        the Z coordinate of the object.
      • getFloorLevel

        @Deprecated
        public int getFloorLevel()
        Deprecated.
      • getHeightOffset

        public double getHeightOffset()
      • getSlope

        public int getSlope()
      • getRawOriginX

        public int getRawOriginX()
      • getRawOriginY

        public int getRawOriginY()
      • getOriginEntityIndex

        public int getOriginEntityIndex()
      • getOriginEntity

        public Entity getOriginEntity()
      • getLocalOriginY

        public int getLocalOriginY()
      • getLocalOriginX

        public int getLocalOriginX()
      • getOriginY

        public int getOriginY()
      • getOriginX

        public int getOriginX()
      • getOriginTile

        public Tile getOriginTile()
      • getTargetDistance

        public int getTargetDistance()
      • getTargetIndex

        public int getTargetIndex()
      • getID

        public int getID()
      • isMoving

        public boolean isMoving()
      • getRotationX

        public double getRotationX()
      • getRotationY

        public double getRotationY()
      • getSpeedZ

        public double getSpeedZ()
      • getSpeedX

        public double getSpeedX()
      • getSpeedY

        public double getSpeedY()
      • getRawX

        public double getRawX()
      • getLocalX

        public int getLocalX()
      • getX

        public int getX()
        Description copied from interface: Locatable
        Gets X coordinate of the given object.
        Specified by:
        getX in interface Locatable
        Returns:
        the X coordinate of the object.
      • getRawY

        public double getRawY()
      • getLocalY

        public int getLocalY()
      • getY

        public int getY()
        Description copied from interface: Locatable
        Gets Y coordinate of the given object.
        Specified by:
        getY in interface Locatable
        Returns:
        the Y coordinate of the object.
      • exists

        public boolean exists()
      • getTile

        public Tile getTile()
        Description copied from interface: Locatable
        Gets tile of the object.
        Specified by:
        getTile in interface Locatable
        Returns:
        the object tile.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object