Class Point


  • public class Point
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(java.lang.Integer points)  
      Point​(java.lang.Integer points, org.bukkit.entity.Player who)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getAdvantage()
      Return the advantage that the team will win with this number of point
      Game getGame()  
      java.lang.Integer getPoints()  
      Team getTeam()  
      org.bukkit.entity.Player getWho()  
      void setAdvantage​(java.lang.Integer advantage)
      Set the advantage that the team will win with this number of point
      void setGame​(Game game)  
      void setPoints​(java.lang.Integer points)  
      void setTeam​(Team team)  
      void setWho​(org.bukkit.entity.Player who)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Point

        public Point​(java.lang.Integer points)
      • Point

        public Point​(java.lang.Integer points,
                     org.bukkit.entity.Player who)
    • Method Detail

      • getPoints

        public java.lang.Integer getPoints()
        Returns:
        Points of the team
      • setPoints

        public void setPoints​(java.lang.Integer points)
        Parameters:
        points - Points of the new "points" type
      • getAdvantage

        public java.lang.Integer getAdvantage()
        Return the advantage that the team will win with this number of point
        Returns:
        The advantage with these points
      • setAdvantage

        public void setAdvantage​(java.lang.Integer advantage)
        Set the advantage that the team will win with this number of point
        Parameters:
        advantage - The advantage that the team will win with this number of point
      • getWho

        public org.bukkit.entity.Player getWho()
      • setWho

        public void setWho​(org.bukkit.entity.Player who)
      • getGame

        public Game getGame()
      • setGame

        public void setGame​(Game game)
      • getTeam

        public Team getTeam()
      • setTeam

        public void setTeam​(Team team)