Class Fish_Node

All Implemented Interfaces:
Item

public class Fish_Node extends BaseItem implements Item
See Also:
  • Constructor Details

    • Fish_Node

      public Fish_Node(String fish, String zone, String cords, String baitUsed, String type, String fishingLog, int level)
      Base constructor that is used for inheritance on its children.
    • Fish_Node

      public Fish_Node(String[] arr)
      Used when file is already formatted.
      Parameters:
      arr - array to input instead of manual input.
  • Method Details

    • toLinkedHashmap

      public LinkedHashMap<String,String> toLinkedHashmap()
      Specified by:
      toLinkedHashmap in interface Item
      Returns:
      ItemType in LinkedHashmap form. Keys represent what the value is. For example, key = level, value = 5.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      Output format as follows after standard items: time,folkloreTome, slot