Interface Tool<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Method Detail

      • createOptionsView

        @Nullable
        @Nullable java.awt.Component createOptionsView()
        Creates a view for changing the options of this tool.
        Returns:
        view for changing the options of this tool or null if this tool hasn't any options
      • getId

        @NotNull
        @NotNull java.lang.String getId()
        Returns the id of this tool. Each tool needs a unique id which distinguishes this tool from other tools.
        Returns:
        id of this tool