TrackingLibrary.RFilters
StdThinInstance.AllWaterFilters
protected static class StdThinInstance.EmptyFilters extends java.lang.Object implements TrackingLibrary.RFilters
Modifier | Constructor | Description |
---|---|---|
protected |
EmptyFilters() |
Modifier and Type | Method | Description |
---|---|---|
TrackingLibrary.RFilters |
copyOf() |
Make a copy of this filter.
|
boolean |
isFilteredOut(Room hostR,
Room R,
Exit E,
int dir) |
The room in question is always the second one, "R".
|
TrackingLibrary.RFilters |
minus(TrackingLibrary.RFilter filter) |
Del a filter from this filter set.
|
TrackingLibrary.RFilters |
plus(TrackingLibrary.RFilter filter) |
Add a new filter to this filter set.
|
public boolean isFilteredOut(Room hostR, Room R, Exit E, int dir)
TrackingLibrary.RFilters
isFilteredOut
in interface TrackingLibrary.RFilters
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 roompublic TrackingLibrary.RFilters plus(TrackingLibrary.RFilter filter)
TrackingLibrary.RFilters
plus
in interface TrackingLibrary.RFilters
filter
- the new filterpublic TrackingLibrary.RFilters minus(TrackingLibrary.RFilter filter)
TrackingLibrary.RFilters
minus
in interface TrackingLibrary.RFilters
filter
- the old filterpublic TrackingLibrary.RFilters copyOf()
TrackingLibrary.RFilters
copyOf
in interface TrackingLibrary.RFilters