public class CombinedRegionFunction extends Object implements RegionFunction
| Constructor and Description |
|---|
CombinedRegionFunction()
Create a combined region function.
|
CombinedRegionFunction(Collection<RegionFunction> functions)
Create a combined region function.
|
CombinedRegionFunction(RegionFunction... function)
Create a combined region function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<RegionFunction> functions)
Add the given functions to the list of functions to call.
|
void |
add(RegionFunction... function)
Add the given functions to the list of functions to call.
|
boolean |
apply(Vector position)
Apply the function to the given position.
|
public CombinedRegionFunction()
public CombinedRegionFunction(Collection<RegionFunction> functions)
functions - a list of functions to matchpublic CombinedRegionFunction(RegionFunction... function)
function - an array of functions to matchpublic void add(Collection<RegionFunction> functions)
functions - a list of functionspublic void add(RegionFunction... function)
function - an array of functionspublic boolean apply(Vector position) throws WorldEditException
RegionFunctionapply in interface RegionFunctionposition - the positionWorldEditException - thrown on an errorCopyright © 2010-2014. All Rights Reserved.