Package net.mtrop.doom.map.data.flags
Interface BoomThingFlags
- All Superinterfaces:
DoomThingFlags
- All Known Subinterfaces:
MBFThingFlags
Thing flag constants for Boom things.
The constant value is how many places to bit shift 1 to equal the flag bit.
- Author:
- Matthew Tropiano
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Thing flag: Appears on easy difficulty.static final int
Thing flag: Appears on hard difficulty.static final int
Thing flag: Appears on medium difficulty.static final int
Thing flag: Does not appear in cooperative.static final int
Thing flag: Does not appear in deathmatch.Fields inherited from interface net.mtrop.doom.map.data.flags.DoomThingFlags
AMBUSH, NOT_SINGLEPLAYER
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
value
(int flag) Gets the bit value of the flag (shifted).
-
Field Details
-
NOT_COOPERATIVE
static final int NOT_COOPERATIVEThing flag: Does not appear in cooperative.- See Also:
-
NOT_DEATHMATCH
static final int NOT_DEATHMATCHThing flag: Does not appear in deathmatch.- See Also:
-
EASY
static final int EASYThing flag: Appears on easy difficulty.- See Also:
-
MEDIUM
static final int MEDIUMThing flag: Appears on medium difficulty.- See Also:
-
HARD
static final int HARDThing 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.
-