Class Scoreboard


  • public class Scoreboard
    extends Object
    • Constructor Detail

      • Scoreboard

        public Scoreboard()
    • Method Detail

      • addObjective

        public void addObjective​(Objective objective)
      • addScore

        public void addScore​(Score score)
      • addTeam

        public void addTeam​(Team team)
      • removeObjective

        public void removeObjective​(String objectiveName)
      • removeScore

        public void removeScore​(String scoreName)
      • removeTeam

        public void removeTeam​(String teamName)
      • clear

        public void clear()
      • getName

        public String getName()
        Unique name for this scoreboard.
      • getPosition

        public Position getPosition()
        Position of this scoreboard.
      • setName

        public void setName​(String name)
        Unique name for this scoreboard.
      • setPosition

        public void setPosition​(Position position)
        Position of this scoreboard.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object