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.ItemComplexDelete; import speedytools.common.utilities.Colour; /** * User: The Grey Ghost * Date: 8/08/2014 */ public class SpeedyToolComplexDelete extends SpeedyToolComplex { public SpeedyToolComplexDelete(ItemComplexDelete 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 protected RenderCursorStatus.CursorRenderInfo.CursorType getCursorType() { return RenderCursorStatus.CursorRenderInfo.CursorType.DELETE; } @Override protected Colour getSelectionRenderColour() { return Colour.LIGHTRED_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; } }