Package games.stendhal.server.util
Class RequiredKillsInfo
java.lang.Object
games.stendhal.server.util.RequiredKillsInfo
records information about kill
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionRequiredKillsInfoRequiredKillsInfo(String name, int requiredSolo, int requiredMaybeShared)
RequiredKillsInfo -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
int
int
int
hashCode()
void
void
setRequiredMaybeShared(int requiredMaybeShared)
void
setRequiredSolo(int requiredSolo)
toString()
-
Constructor Details
-
RequiredKillsInfo
public RequiredKillsInfo()RequiredKillsInfo -
RequiredKillsInfo
RequiredKillsInfo- Parameters:
name
- name of creaturerequiredSolo
- number of kills the player must do alonerequiredMaybeShared
- number of kills the player may do alone or with help
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
- 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
-
hashCode
public int hashCode() -
equals
-
toString
-