Annotation Type EngineElement


@Retention(RUNTIME) @Target(TYPE) public @interface EngineElement
Annotation for classes that should be instantiated as singletons for the Engine. These classes can be annotated with CCMD, CVAR, and EngineElementConstructor annotations. Depending on other component roles, some can be ordered in order to influence listener invocation order.
Author:
Matthew Tropiano
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Checks if this element is only instantiated on debug mode.
  • Element Details

    • debug

      boolean debug
      Checks if this element is only instantiated on debug mode.
      Returns:
      true if so, false if not.
      Default:
      false