Interface GraphicsObject

    • Method Detail

      • getId

        int getId()
        The graphics object ID.
        Returns:
        the ID
      • getLocation

        LocalPoint getLocation()
        The location of the object.
        Returns:
        the location
      • getStartCycle

        int getStartCycle()
        Get the time this spotanim starts
        Returns:
      • getLevel

        int getLevel()
        The plane the spotanim is on.
        Returns:
      • getZ

        int getZ()
        Gets the z coordinate
      • finished

        boolean finished()
        Checks if this spotanim is done animating
        Returns:
      • setFinished

        void setFinished​(boolean finished)
        Set if this spotanim is done animating. If finished, the spotanim will despawn next frame.
        Parameters:
        finished -
      • getAnimation

        @Nullable
        Animation getAnimation()
        The animation of the spotanim
        Returns:
      • getAnimationFrame

        int getAnimationFrame()
        The frame of the current animation
        Returns: