Package net.mtrop.doom.map.data.flags
Interface ZDoomThingFlags
- All Superinterfaces:
HexenThingFlags
Thing flag constants for ZDoom 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: Thing starts friendly to players.static final int
Thing flag: Appears on hard difficulty.static final int
Thing flag: Appears invisible.static final int
Thing flag: Appears on medium difficulty.static final int
Thing flag: Thing starts in standing mode.static final int
Thing flag: Appears translucent.Fields inherited from interface net.mtrop.doom.map.data.flags.HexenThingFlags
AMBUSH, CLERIC, COOPERATIVE, DEATHMATCH, DORMANT, FIGHTER, MAGE, SINGLEPLAYER
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
value
(int flag) Gets the bit value of the flag (shifted).
-
Field Details
-
STANDING
static final int STANDINGThing flag: Thing starts in standing mode.- See Also:
-
TRANSLUCENT
static final int TRANSLUCENTThing flag: Appears translucent.- See Also:
-
INVISIBLE
static final int INVISIBLEThing flag: Appears invisible.- See Also:
-
FRIENDLY
static final int FRIENDLYThing flag: Thing starts friendly to players.- 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.
-