MaskingLibrary.CompiledZMask
public static class MUDZapper.CompiledZapperMaskImpl extends java.lang.Object implements MaskingLibrary.CompiledZMask
Constructor | Description |
---|---|
CompiledZapperMaskImpl(MaskingLibrary.CompiledZMaskEntry[][] entries,
boolean useItem,
boolean useRoom) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
empty() |
Returns whether the mask is empty and always passes
|
MaskingLibrary.CompiledZMaskEntry[][] |
entries() |
Returns a list of ZapperMask entries, where all the
list entries must pass for the mask to pass
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
boolean |
useItemFlag() |
As some mask entries only apply to items, set this flag
if an item MIGHT be masked, or if the mask contains item
entries, and thus an item needs creating to do the check.
|
boolean |
useRoomFlag() |
As some mask entries only apply to rooms, set this flag
if an item MIGHT be masked, or if the mask contains location
entries, and thus a room needs referencing to do the check.
|
public CompiledZapperMaskImpl(MaskingLibrary.CompiledZMaskEntry[][] entries, boolean useItem, boolean useRoom)
public boolean useItemFlag()
MaskingLibrary.CompiledZMask
useItemFlag
in interface MaskingLibrary.CompiledZMask
public boolean useRoomFlag()
MaskingLibrary.CompiledZMask
useRoomFlag
in interface MaskingLibrary.CompiledZMask
public boolean empty()
MaskingLibrary.CompiledZMask
empty
in interface MaskingLibrary.CompiledZMask
public MaskingLibrary.CompiledZMaskEntry[][] entries()
MaskingLibrary.CompiledZMask
entries
in interface MaskingLibrary.CompiledZMask
MaskingLibrary.CompiledZMaskEntry
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object