Class OSRSSpotAnimation

    • Constructor Detail

      • OSRSSpotAnimation

        public OSRSSpotAnimation​(long uid)
    • Method Detail

      • getPosition

        public Coordinate getPosition​(Coordinate regionBase)
        Description copied from interface: LocatableEntity
        Gets the position using the region base as the coordinate to offset from. For optimization.
        Specified by:
        getPosition in interface LocatableEntity
        Parameters:
        regionBase - The Coordinate base of the loaded region
      • getModel

        public Model getModel()
        Description copied from interface: Modeled
        Gets the polygon-based model of the entity
        Specified by:
        getModel in interface Modeled
        Returns:
        the entities model, otherwise the backup if set, if neither are available null
      • toString

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

        public int getAnimationId()
        Description copied from interface: Animable
        Gets the entities current animation id
        Specified by:
        getAnimationId in interface Animable
        Returns:
        the current animation id, or if unavailable -1