mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Add score API
This commit is contained in:
parent
ebc81947d3
commit
1de4780c39
@ -332,6 +332,20 @@ public interface PlayerGroup {
|
||||
*/
|
||||
void removeReward(Reward reward);
|
||||
|
||||
/**
|
||||
* Returns the score number, which is used for capture the flag and similar game types.
|
||||
*
|
||||
* @return the score number
|
||||
*/
|
||||
int getScore();
|
||||
|
||||
/**
|
||||
* Sets the score of this group to a new value.
|
||||
*
|
||||
* @param score the value
|
||||
*/
|
||||
void setScore(int score);
|
||||
|
||||
/**
|
||||
* Returns the initial amount of lives or -1 if group lives are not used.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user