Package net.mtrop.doom.map.data.flags
Interface ZDoomLinedefFlags
- All Superinterfaces:
DoomLinedefFlags
,HexenLinedefFlags
Linedef flag constants for ZDoom (Hexen format).
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: Special can be activated by players and monsters.static final int
Linedef flag: Blocks everything (like a one-sided line).static final int
Linedef flag: Blocks players.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
Fields inherited from interface net.mtrop.doom.map.data.flags.HexenLinedefFlags
REPEATABLE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
value
(int flag) Gets the bit value of the flag (shifted).
-
Field Details
-
ACTIVATED_BY_MONSTERS
static final int ACTIVATED_BY_MONSTERSLinedef flag: Special can be activated by players and monsters.- See Also:
-
BLOCK_PLAYERS
static final int BLOCK_PLAYERSLinedef flag: Blocks players.- See Also:
-
BLOCK_EVERYTHING
static final int BLOCK_EVERYTHINGLinedef flag: Blocks everything (like a one-sided line).- 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.
-