Class HighScoreMessage
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.AbstractMessage
-
- de.extio.spacecraft.shared.model.message.toclient.HighScoreMessage
-
public final class HighScoreMessage extends AbstractMessage
This message sends a highscore to the client
-
-
Constructor Summary
Constructors Constructor Description HighScoreMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGameMode()StringgetGameModeLocalized()StringgetGameRunMode()intgetGameTimeSeconds()UUIDgetId()StringgetPlayerNames()List<UUID>getPlayers()intgetRank()longgetTimestamp()intgetTotal()intgetTurns()booleanisOfficial()voidsetGameMode(String gameMode)voidsetGameModeLocalized(String gameModeLocalized)voidsetGameRunMode(String gameRunMode)voidsetGameTimeSeconds(int gameTimeSeconds)voidsetId(UUID id)voidsetOfficial(boolean official)voidsetPlayerNames(String playerNames)voidsetPlayers(List<UUID> players)voidsetRank(int rank)voidsetTimestamp(long timestamp)voidsetTotal(int total)voidsetTurns(int turns)-
Methods inherited from class de.extio.spacecraft.shared.model.message.AbstractMessage
toString
-
-
-
-
Method Detail
-
getGameMode
public String getGameMode()
-
setGameMode
public void setGameMode(String gameMode)
-
getGameModeLocalized
public String getGameModeLocalized()
-
setGameModeLocalized
public void setGameModeLocalized(String gameModeLocalized)
-
isOfficial
public boolean isOfficial()
-
setOfficial
public void setOfficial(boolean official)
-
getGameRunMode
public String getGameRunMode()
-
setGameRunMode
public void setGameRunMode(String gameRunMode)
-
getPlayerNames
public String getPlayerNames()
-
setPlayerNames
public void setPlayerNames(String playerNames)
-
getTurns
public int getTurns()
-
setTurns
public void setTurns(int turns)
-
getGameTimeSeconds
public int getGameTimeSeconds()
-
setGameTimeSeconds
public void setGameTimeSeconds(int gameTimeSeconds)
-
getId
public UUID getId()
-
setId
public void setId(UUID id)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getRank
public int getRank()
-
setRank
public void setRank(int rank)
-
getTotal
public int getTotal()
-
setTotal
public void setTotal(int total)
-
-