public class SkillRestriction extends java.lang.Object implements Restriction
Skill
Constructor and Description |
---|
SkillRestriction(Skill skill)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Skill |
getSkill()
Gets the restricted skill
|
java.lang.String |
toString() |
public SkillRestriction(Skill skill)
skill
- The restricted skillpublic Skill getSkill()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object