Enum Class ComponentType

java.lang.Object
java.lang.Enum<ComponentType>
zombie.entity.ComponentType
All Implemented Interfaces:
Serializable, Comparable<ComponentType>, Constable

public enum ComponentType extends Enum<ComponentType>
  • Enum Constant Details

  • Field Details

    • MAX_ID_INDEX

      public static final int MAX_ID_INDEX
  • Method Details

    • values

      public static ComponentType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ComponentType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • GetID

      public short GetID()
    • isAddToEngine

      public boolean isAddToEngine()
    • isRunInMeta

      public boolean isRunInMeta()
    • isRenderLast

      public boolean isRenderLast()
    • isValidGameEntityType

      public boolean isValidGameEntityType(GameEntityType gameEntityType)
    • GetComponentClass

      public Class<? extends Component> GetComponentClass()
    • CreateComponent

      public Component CreateComponent()
    • CreateComponentFromScript

      public Component CreateComponentFromScript(ComponentScript componentScript)
    • CreateComponentScript

      public ComponentScript CreateComponentScript()
    • ReleaseComponent

      public static void ReleaseComponent(Component component)
    • FromId

      public static ComponentType FromId(short short0)
    • FromClass

      public static ComponentType FromClass(Class<? extends Component> _class)
    • GetList

      public static ArrayList<ComponentType> GetList()
    • getBitsFor

      public static BitSet getBitsFor(ComponentType... componentType)