public class ScoreBoard
extends java.lang.Object
| コンストラクタと説明 |
|---|
ScoreBoard() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(Player player) |
boolean |
finish() |
int |
getCount(int index) |
int |
getMaxCount() |
java.util.List<Player> |
getNextPlayers() |
Player |
getPlayer(int index) |
int |
getScore(int index) |
void |
setMaxCount(int maxCount) |
int |
size() |
void |
update(Player player,
int score) |
public void add(Player player) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic boolean finish()
public void update(Player player, int score)
public java.util.List<Player> getNextPlayers()
public int size()
public Player getPlayer(int index)
public int getCount(int index)
public int getScore(int index)
public void setMaxCount(int maxCount)
public int getMaxCount()