TrackingLibrary.RFilter
, java.io.Serializable
, java.lang.Comparable<TrackingLibrary.TrackingFlag>
public static enum TrackingLibrary.TrackingFlag extends java.lang.Enum<TrackingLibrary.TrackingFlag> implements TrackingLibrary.RFilter
Enum Constant | Description |
---|---|
AREAONLY |
|
CEILINGSSONLY |
|
FLOORSONLY |
|
INDOORONLY |
|
NOAIR |
|
NOCLIMB |
|
NOCRAWL |
|
NOEMPTYGRIDS |
|
NOHIDDENAREAS |
|
NOHOMES |
|
NOPRIVATEPROPERTY |
|
NOTHINAREAS |
|
NOWATER |
|
OPENONLY |
|
OUTDOORONLY |
|
PASSABLE |
|
SHOREONLY |
|
UNDERWATERONLY |
|
UNLOCKEDONLY |
|
WATERSURFACEONLY |
|
WATERSURFACEORSHOREONLY |
Modifier and Type | Field | Description |
---|---|---|
TrackingLibrary.RFilter |
myFilter |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isFilteredOut(Room hostR,
Room R,
Exit E,
int dir) |
The room in question is always the second one, "R".
|
static TrackingLibrary.TrackingFlag |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TrackingLibrary.TrackingFlag[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingLibrary.TrackingFlag NOHOMES
public static final TrackingLibrary.TrackingFlag OPENONLY
public static final TrackingLibrary.TrackingFlag UNLOCKEDONLY
public static final TrackingLibrary.TrackingFlag PASSABLE
public static final TrackingLibrary.TrackingFlag AREAONLY
public static final TrackingLibrary.TrackingFlag NOTHINAREAS
public static final TrackingLibrary.TrackingFlag NOHIDDENAREAS
public static final TrackingLibrary.TrackingFlag NOEMPTYGRIDS
public static final TrackingLibrary.TrackingFlag NOAIR
public static final TrackingLibrary.TrackingFlag NOPRIVATEPROPERTY
public static final TrackingLibrary.TrackingFlag NOWATER
public static final TrackingLibrary.TrackingFlag WATERSURFACEONLY
public static final TrackingLibrary.TrackingFlag WATERSURFACEORSHOREONLY
public static final TrackingLibrary.TrackingFlag SHOREONLY
public static final TrackingLibrary.TrackingFlag UNDERWATERONLY
public static final TrackingLibrary.TrackingFlag FLOORSONLY
public static final TrackingLibrary.TrackingFlag CEILINGSSONLY
public static final TrackingLibrary.TrackingFlag NOCLIMB
public static final TrackingLibrary.TrackingFlag NOCRAWL
public static final TrackingLibrary.TrackingFlag OUTDOORONLY
public static final TrackingLibrary.TrackingFlag INDOORONLY
public TrackingLibrary.RFilter myFilter
public static TrackingLibrary.TrackingFlag[] values()
for (TrackingLibrary.TrackingFlag c : TrackingLibrary.TrackingFlag.values()) System.out.println(c);
public static TrackingLibrary.TrackingFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isFilteredOut(Room hostR, Room R, Exit E, int dir)
TrackingLibrary.RFilter
isFilteredOut
in interface TrackingLibrary.RFilter
hostR
- the starting roomR
- the room being filtered, and the target roomE
- the exit from the host to target roomdir
- the direction from host to target room