package speedytools.clientside.tools;
import speedytools.clientside.UndoManagerClient;
import speedytools.clientside.network.CloneToolsNetworkClient;
import speedytools.clientside.network.PacketSenderClient;
import speedytools.clientside.rendering.RenderCursorStatus;
import speedytools.clientside.rendering.SpeedyToolRenderers;
import speedytools.clientside.selections.BlockMultiSelector;
import speedytools.clientside.sound.SoundController;
import speedytools.clientside.selections.ClientVoxelSelection;
import speedytools.common.items.ItemComplexCopy;
import speedytools.common.utilities.Colour;
/**
* User: The Grey Ghost
* Date: 8/08/2014
*/
public class SpeedyToolComplexCopy extends SpeedyToolComplex
{
public SpeedyToolComplexCopy(ItemComplexCopy i_parentItem, SpeedyToolRenderers i_renderers, SoundController i_speedyToolSounds, UndoManagerClient i_undoManagerClient, CloneToolsNetworkClient i_cloneToolsNetworkClient,
SpeedyToolBoundary i_speedyToolBoundary, ClientVoxelSelection i_clientVoxelSelection, CommonSelectionState i_commonSelectionState,
SelectionPacketSender packetSender, PacketSenderClient i_packetSenderClient) {
super(i_parentItem, i_renderers, i_speedyToolSounds, i_undoManagerClient, i_cloneToolsNetworkClient, i_speedyToolBoundary,
i_clientVoxelSelection, i_commonSelectionState, packetSender, i_packetSenderClient);
}
@Override
public RenderCursorStatus.CursorRenderInfo.CursorType getCursorType() {
return RenderCursorStatus.CursorRenderInfo.CursorType.COPY;
}
@Override
protected Colour getSelectionRenderColour() {
return Colour.LIGHTGREEN_40;
}
@Override
protected boolean cancelSelectionAfterAction() {
return false;
}
/**
* if true, selections made using this tool can be dragged around
*
* @return
*/
@Override
protected boolean selectionIsMoveable() {
return true;
}
/**
* if true, CTRL + mousewheel changes the item count
*
* @return
*/
@Override
protected boolean mouseWheelChangesCount() {
return false;
}
@Override
protected BlockMultiSelector.BlockSelectionBehaviour getBlockSelectionBehaviour() {
return BlockMultiSelector.BlockSelectionBehaviour.ORB_STYLE;
}
}