public class InvertedMask extends AbstractMask
| Constructor and Description |
|---|
InvertedMask(Mask mask) |
| Modifier and Type | Method and Description |
|---|---|
Mask |
getInvertedMask() |
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.
|
public InvertedMask(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)
Maskpublic Mask getInvertedMask()
Copyright © 2010-2014. All Rights Reserved.