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.IntegergetAdvantage()Return the advantage that the team will win with this number of pointGamegetGame()java.lang.IntegergetPoints()TeamgetTeam()org.bukkit.entity.PlayergetWho()voidsetAdvantage(java.lang.Integer advantage)Set the advantage that the team will win with this number of pointvoidsetGame(Game game)voidsetPoints(java.lang.Integer points)voidsetTeam(Team team)voidsetWho(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)
-
-