MaskIntersection
@Deprecated public class CombinedMask extends AbstractMask
Constructor and Description |
---|
CombinedMask()
Deprecated.
|
CombinedMask(java.util.List<Mask> masks)
Deprecated.
|
CombinedMask(Mask... mask)
Deprecated.
|
CombinedMask(Mask mask)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Mask mask)
Deprecated.
|
boolean |
has(Mask mask)
Deprecated.
|
boolean |
matches(EditSession editSession,
Vector position)
Deprecated.
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)
Deprecated.
Called one time before each edit session.
|
boolean |
remove(Mask mask)
Deprecated.
|
public CombinedMask()
public CombinedMask(Mask mask)
public CombinedMask(Mask... mask)
public CombinedMask(java.util.List<Mask> masks)
public void add(Mask mask)
public boolean remove(Mask mask)
public boolean has(Mask mask)
public void prepare(LocalSession session, LocalPlayer player, Vector target)
Mask
prepare
in interface Mask
prepare
in class AbstractMask
session
- a sessionplayer
- a playertarget
- target of the brush, null if not a brush maskpublic boolean matches(EditSession editSession, Vector position)
Mask
editSession
- an instanceposition
- the position to check