public class CombinedMask extends AbstractMask
| Constructor and Description |
|---|
CombinedMask() |
CombinedMask(List<Mask> masks) |
CombinedMask(Mask mask) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Mask mask) |
boolean |
has(Mask mask) |
boolean |
matches(EditSession editSession,
Vector pos)
Given a block position, this method returns true if the block at
that position matches the filter.
|
void |
prepare(LocalSession session,
LocalPlayer player,
Vector target)
Called one time before each edit session.
|
boolean |
remove(Mask mask) |
public CombinedMask()
public CombinedMask(Mask mask)
public void add(Mask mask)
public boolean remove(Mask mask)
public boolean has(Mask mask)
public void prepare(LocalSession session, LocalPlayer player, Vector target)
Maskprepare in interface Maskprepare in class AbstractMasktarget - target of the brush, null if not a brush maskpublic boolean matches(EditSession editSession, Vector pos)
MaskCopyright © 2010-2014. All Rights Reserved.