public class VoidTool<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends BasicAbstractTool<G,A,R>
Constructor and Description |
---|
VoidTool()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clicked(@NotNull MouseOpEvent<G,A,R> e)
Mouse was clicked.
|
@Nullable java.awt.Component |
createOptionsView()
Creates a view for changing the options of this tool.
|
void |
dragged(@NotNull MouseOpEvent<G,A,R> e)
Mouse was dragged.
|
void |
moved(@NotNull MouseOpEvent<G,A,R> e)
Mouse was moved.
|
void |
pressed(@NotNull MouseOpEvent<G,A,R> e)
Mouse was pressed.
|
void |
released(@NotNull MouseOpEvent<G,A,R> e)
Mouse was released.
|
getId
@Nullable public @Nullable java.awt.Component createOptionsView()
Tool
null
if
this tool hasn't any optionspublic void clicked(@NotNull @NotNull MouseOpEvent<G,A,R> e)
MouseOpListener
e
- the eventpublic void dragged(@NotNull @NotNull MouseOpEvent<G,A,R> e)
MouseOpListener
e
- the eventpublic void moved(@NotNull @NotNull MouseOpEvent<G,A,R> e)
MouseOpListener
e
- the eventpublic void pressed(@NotNull @NotNull MouseOpEvent<G,A,R> e)
MouseOpListener
e
- the eventpublic void released(@NotNull @NotNull MouseOpEvent<G,A,R> e)
MouseOpListener
e
- the event