public class Point
extends java.lang.Object
Constructor and Description |
---|
Point(java.lang.Integer points) |
Point(java.lang.Integer points,
org.bukkit.entity.Player who) |
Modifier and Type | Method and 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) |
public Point(java.lang.Integer points)
public Point(java.lang.Integer points, org.bukkit.entity.Player who)
public java.lang.Integer getPoints()
public void setPoints(java.lang.Integer points)
points
- Points of the new "points" typepublic java.lang.Integer getAdvantage()
public void setAdvantage(java.lang.Integer advantage)
advantage
- The advantage that the team will win with this number of pointpublic org.bukkit.entity.Player getWho()
public void setWho(org.bukkit.entity.Player who)
public Game getGame()
public void setGame(Game game)
public Team getTeam()
public void setTeam(Team team)