public class RegionMaskingFilter extends Object implements RegionFunction
apply(com.sk89q.worldedit.Vector) to the
delegate RegionFunction if they
match the given mask.| Constructor and Description |
|---|
RegionMaskingFilter(Mask mask,
RegionFunction function)
Create a new masking filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Vector position)
Apply the function to the given position.
|
public RegionMaskingFilter(Mask mask, RegionFunction function)
mask - the maskfunction - the functionpublic boolean apply(Vector position) throws WorldEditException
RegionFunctionapply in interface RegionFunctionposition - the positionWorldEditException - thrown on an errorCopyright © 2010-2014. All Rights Reserved.