Class RequiredKillsInfo

java.lang.Object
games.stendhal.server.util.RequiredKillsInfo

public class RequiredKillsInfo extends Object
records information about kill
Author:
hendrik
  • Constructor Details

    • RequiredKillsInfo

      public RequiredKillsInfo()
      RequiredKillsInfo
    • RequiredKillsInfo

      public RequiredKillsInfo(String name, int requiredSolo, int requiredMaybeShared)
      RequiredKillsInfo
      Parameters:
      name - name of creature
      requiredSolo - number of kills the player must do alone
      requiredMaybeShared - number of kills the player may do alone or with help
  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getRequiredSolo

      public int getRequiredSolo()
      Returns:
      the requiredSolo
    • setRequiredSolo

      public void setRequiredSolo(int requiredSolo)
      Parameters:
      requiredSolo - the requiredSolo to set
    • getRequiredMaybeShared

      public int getRequiredMaybeShared()
      Returns:
      the requiredMaybeShared
    • setRequiredMaybeShared

      public void setRequiredMaybeShared(int requiredMaybeShared)
      Parameters:
      requiredMaybeShared - the requiredMaybeShared to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object