Module org.dyn4j

Class SimpleContactManager

    • Constructor Detail

      • SimpleContactManager

        public SimpleContactManager()
        Deprecated.
        Default constructor.
        Since:
        3.2.0
      • SimpleContactManager

        public SimpleContactManager​(Capacity initialCapacity)
        Deprecated.
        Full constructor.

        The initial capacity is used to help performance in the event that the developer knows the number of bodies the world will contain. The ContactManager will grow past the initial capacity if necessary.

        Parameters:
        initialCapacity - the estimated number of Bodys
        Throws:
        java.lang.NullPointerException - if initialCapacity is null
        Since:
        3.2.0