| Modifier and Type | Method and Description |
|---|---|
String |
getTitleRankingsSprite() |
void |
onAfterGameTurn() |
void |
onAfterOnEnd() |
void |
onGameInit() |
void |
setScores(int[] scores)
Send scores to the module
|
void |
setScores(int[] scores,
String[] displayedText)
Send scores to the module
|
void |
setTitleRankingsSprite(String spriteName)
Allows you to set the sprite used as the title of the ranking board
|
public void setScores(int[] scores)
scores - the scores of the different players, the index matches the player.getIndex()public void setScores(int[] scores,
String[] displayedText)
scores - the scores of the different players, the index matches the player.getIndex()displayedText - the text displayed instead of the score of a player, if null or empty string for a player the score will still be displayedpublic void setTitleRankingsSprite(String spriteName)
spriteName - the name of the sprite you want to use default is "logo.png"public String getTitleRankingsSprite()
public final void onGameInit()
onGameInit in interface Modulepublic final void onAfterGameTurn()
onAfterGameTurn in interface Modulepublic final void onAfterOnEnd()
onAfterOnEnd in interface ModuleCopyright © 2020. All rights reserved.