@Deprecated public class OffsetMask2D extends AbstractMask2D
Constructor and Description |
---|
OffsetMask2D(Mask2D mask,
BlockVector2 offset)
Deprecated.
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Mask2D |
getMask()
Deprecated.
Get the mask.
|
BlockVector2 |
getOffset()
Deprecated.
Get the offset.
|
void |
setMask(Mask2D mask)
Deprecated.
Set the mask.
|
void |
setOffset(BlockVector2 offset)
Deprecated.
Set the offset.
|
boolean |
test(BlockVector2 vector)
Deprecated.
Returns true if the criteria is met.
|
public OffsetMask2D(Mask2D mask, BlockVector2 offset)
mask
- the maskoffset
- the offsetpublic Mask2D getMask()
public void setMask(Mask2D mask)
mask
- the maskpublic BlockVector2 getOffset()
public void setOffset(BlockVector2 offset)
offset
- the offsetpublic boolean test(BlockVector2 vector)
Mask2D
vector
- the vector to test