Class BasicAbstractTool<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BasicAbstractTool​(@NotNull java.lang.String id)
      Creates a new instance.
    • Constructor Detail

      • BasicAbstractTool

        protected BasicAbstractTool​(@NotNull
                                    @NotNull java.lang.String id)
        Creates a new instance.
        Parameters:
        id - the ID (used for getId() as well as for the ActionBuilder)
    • Method Detail

      • getId

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