Class CompositeModel

    • Constructor Detail

      • CompositeModel

        public CompositeModel​(Model... models)
      • CompositeModel

        public CompositeModel​(java.util.List<Model> models)
    • Method Detail

      • 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
      • getHeight

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

        public boolean isValid()
        Description copied from interface: Validatable
        Verifies whether this entity is valid and still exists, typically on the world-graph
        Returns:
        true if it's still available, otherwise false
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Model
      • equals

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

        public boolean hasDynamicBounds()