public class DistanceWand extends BrushTool implements DoubleActionTraceTool
Constructor and Description |
---|
DistanceWand() |
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.
|
canUse, getBrush, getMask, getMaterial, getRange, getSize, getTraceMask, setBrush, setFill, setMask, setRange, setSize, setTraceMask
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