public class CommonScore extends Object
Modifier | Constructor and Description |
---|---|
protected |
CommonScore(CommonScoreboard scoreboard,
String name,
String objName) |
Modifier and Type | Method and Description |
---|---|
protected static CommonScore |
copyFrom(CommonScoreboard board,
CommonScore from) |
protected void |
create()
Create the score
|
String |
getName()
Get the unique name of this score
|
int |
getValue()
Get the score value
|
protected void |
remove()
Remove the score
|
void |
setValue(int value)
Set the score value
|
void |
update()
Update the score
|
protected CommonScore(CommonScoreboard scoreboard, String name, String objName)
public String getName()
public int getValue()
public void setValue(int value)
value
- to set topublic void update()
protected void create()
protected void remove()
protected static CommonScore copyFrom(CommonScoreboard board, CommonScore from)
Copyright © 2019. All rights reserved.