Module org.dyn4j

Enum ContinuousDetectionMode

    • Enum Constant Detail

      • BULLETS_ONLY

        public static final ContinuousDetectionMode BULLETS_ONLY
        CCD is performed on bodies flagged as bullets only.

        More precisely, the following pairs are tested:

        • Bullet vs. Dynamic
        • Bullet vs. Static
      • ALL

        public static final ContinuousDetectionMode ALL
        CCD is performed on all bodies against static bodies.

        More precisely, the following pairs are tested:

        • Dynamic vs. Static
        • Bullet vs. Static
        • Bullet vs. Dynamic
    • Method Detail

      • values

        public static ContinuousDetectionMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ContinuousDetectionMode c : ContinuousDetectionMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ContinuousDetectionMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null