public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTool
Constructor and Description |
---|
LongRangeBuildTool(Pattern secondary,
Pattern primary) |
Modifier and Type | Method and Description |
---|---|
boolean |
actPrimary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session)
Perform the primary action of this trace tool.
|
boolean |
actSecondary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session)
Perform the secondary function of this tool.
|
boolean |
canUse(Actor player)
Checks to see if the player can still be using this tool (considering
permissions and such).
|
getBrush, getMask, getMaterial, getRange, getSize, getTraceMask, setBrush, setFill, setMask, setRange, setSize, setTraceMask
public boolean canUse(Actor player)
Tool
public boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session)
DoubleActionTraceTool
actSecondary
in interface DoubleActionTraceTool
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local sessionpublic boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session)
TraceTool
actPrimary
in interface TraceTool
actPrimary
in class BrushTool
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local session