Interface StrifeThingFlags


public interface StrifeThingFlags
Thing flag constants for Strife things. The constant value is how many places to bit shift 1 to equal the flag bit.
Author:
Matthew Tropiano
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Thing flag: Thing starts friendly to players.
    static final int
    Thing flag: Ambushes players.
    static final int
    Thing flag: Appears on easy difficulty.
    static final int
    Thing flag: Appears on hard difficulty.
    static final int
    Thing flag: Is invisible.
    static final int
    Thing flag: Appears on medium difficulty.
    static final int
    Thing flag: Appears in multiplayer only.
    static final int
    Thing flag: Thing starts in standing mode.
    static final int
    Thing flag: Appears at 25% translucency.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    value(int flag)
    Gets the bit value of the flag (shifted).
  • Field Details

    • STANDING

      static final int STANDING
      Thing flag: Thing starts in standing mode.
      See Also:
    • MULTIPLAYER

      static final int MULTIPLAYER
      Thing flag: Appears in multiplayer only.
      See Also:
    • AMBUSH

      static final int AMBUSH
      Thing flag: Ambushes players.
      See Also:
    • ALLY

      static final int ALLY
      Thing flag: Thing starts friendly to players.
      See Also:
    • TRANSLUCENT_25

      static final int TRANSLUCENT_25
      Thing flag: Appears at 25% translucency.
      See Also:
    • INVISIBLE

      static final int INVISIBLE
      Thing flag: Is invisible.
      See Also:
    • EASY

      static final int EASY
      Thing flag: Appears on easy difficulty.
      See Also:
    • MEDIUM

      static final int MEDIUM
      Thing flag: Appears on medium difficulty.
      See Also:
    • HARD

      static final int HARD
      Thing flag: Appears on hard difficulty.
      See Also:
  • Method Details

    • value

      default int value(int flag)
      Gets the bit value of the flag (shifted).
      Parameters:
      flag - the input flag constant.
      Returns:
      the resultant value.