Enum BasicObjectVertex.Behavior

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CHANGES_REGION
      A behavior that expects the object to cause the current region to change upon successful traversal
      DESPAWNS
      A behavior that expects the object to despawn, as in disappear, unload, etc.
      DISAPPEARING
      Deprecated.
      MAP_ENTRANCE
      Deprecated.
      PASS_THROUGH
      A behavior that indicates that the player passes through, crosses, or otherwise moves past the object.
      UNDEFINED
      Results in using a generic behavior that works in most cases but doesn't work well for much
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static BasicObjectVertex.Behavior opcode​(int opcode)  
      static BasicObjectVertex.Behavior valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BasicObjectVertex.Behavior[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNDEFINED

        public static final BasicObjectVertex.Behavior UNDEFINED
        Results in using a generic behavior that works in most cases but doesn't work well for much
      • DESPAWNS

        public static final BasicObjectVertex.Behavior DESPAWNS
        A behavior that expects the object to despawn, as in disappear, unload, etc.
      • PASS_THROUGH

        public static final BasicObjectVertex.Behavior PASS_THROUGH
        A behavior that indicates that the player passes through, crosses, or otherwise moves past the object.
      • CHANGES_REGION

        public static final BasicObjectVertex.Behavior CHANGES_REGION
        A behavior that expects the object to cause the current region to change upon successful traversal
    • Method Detail

      • values

        public static BasicObjectVertex.Behavior[] 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 (BasicObjectVertex.Behavior c : BasicObjectVertex.Behavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BasicObjectVertex.Behavior valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null