Package net.mtrop.doom.map.data.flags
Interface StrifeLinedefFlags
- All Superinterfaces:
DoomLinedefFlags
Linedef flag constants for Strife.
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
Linedef flag: Line blocks floating actors.static final int
Linedef flag: Line is a jump-over railing.static final int
Linedef flag: Line is translucent.Fields inherited from interface net.mtrop.doom.map.data.flags.DoomLinedefFlags
BLOCK_MONSTERS, BLOCK_SOUND, IMPASSABLE, MAPPED, NOT_DRAWN, SECRET, TWO_SIDED, UNPEG_BOTTOM, UNPEG_TOP
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
value
(int flag) Gets the bit value of the flag (shifted).
-
Field Details
-
RAILING
static final int RAILINGLinedef flag: Line is a jump-over railing.- See Also:
-
BLOCK_FLOATERS
static final int BLOCK_FLOATERSLinedef flag: Line blocks floating actors.- See Also:
-
TRANSLUCENT
static final int TRANSLUCENTLinedef flag: Line is translucent.- Since:
- 2.8.1
- 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.
-