Class Score


  • public class Score
    extends Object
    Represents a scoreboard score entry.
    • Constructor Detail

      • Score

        public Score​(String itemName,
                     String scoreName,
                     int value)
    • Method Detail

      • getItemName

        public String getItemName()
        Name to be displayed in the list.
      • getScoreName

        public String getScoreName()
        Unique name of the score.
      • getValue

        public int getValue()
        Value of the score.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object