Interface MBFThingFlags

All Superinterfaces:
BoomThingFlags, DoomThingFlags

public interface MBFThingFlags extends BoomThingFlags
Thing flag constants for MBF/SMMU. 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: Appears on easy difficulty.
    static final int
    Thing flag: Thing is friendly.
    static final int
    Thing flag: Appears on hard difficulty.
    static final int
    Thing flag: Appears on medium difficulty.

    Fields inherited from interface net.mtrop.doom.map.data.flags.BoomThingFlags

    NOT_COOPERATIVE, NOT_DEATHMATCH

    Fields inherited from interface net.mtrop.doom.map.data.flags.DoomThingFlags

    AMBUSH, NOT_SINGLEPLAYER
  • Method Summary

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

  • 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.