Class OSRSModel

    • Constructor Detail

      • OSRSModel

        public OSRSModel​(long uid,
                         int heightOffset,
                         LocatableEntity entity,
                         int[][] points)
      • OSRSModel

        public OSRSModel​(long uid,
                         LocatableEntity entity,
                         int[][] points)
    • Method Detail

      • hasDynamicBounds

        public boolean hasDynamicBounds()
      • projectTrianglesWithin

        @NonNull
        public @NonNull java.util.List<Triangle> projectTrianglesWithin​(java.awt.Shape viewport)
        Specified by:
        projectTrianglesWithin in class Model
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in class Model
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Model
      • getDefaultColors

        public java.util.Set<java.awt.Color> getDefaultColors()
        Description copied from class: Model
        Gets a list of colors that are used by default on the models polygons. These are sometimes replaced before being rendered and these substitutions can be retrieved from GameObjectDefinition#getColorSubstitutions and NpcDefinition#getColorSubstitutions.
        Specified by:
        getDefaultColors in class Model
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Model