Package com.alexlew.gameapi.types
Class Point
- java.lang.Object
-
- com.alexlew.gameapi.types.Point
-
public class Point extends java.lang.Object
-
-
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 pointGame
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 pointvoid
setGame(Game game)
void
setPoints(java.lang.Integer points)
void
setTeam(Team team)
void
setWho(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)
-
-