Klasse PlayerStats
java.lang.Object
de.delinkedde.mobarenareborn.stats.PlayerStats
A player's mutable statistics for one arena: kills, rounds played and the best wave reached.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
PlayerStats
- Parameter:
arena- the arena identifierkills- the total arena-mob killsrounds- the rounds playedbestWave- the best wave reached
-
-
Methodendetails
-
arena
- Gibt zurück:
- the arena identifier
-
kills
public long kills()- Gibt zurück:
- the total arena-mob kills
-
rounds
public int rounds()- Gibt zurück:
- the rounds played
-
bestWave
public int bestWave()- Gibt zurück:
- the best wave reached
-
addKill
public void addKill()Increments the kill counter. -
recordRound
public void recordRound(int waveReached) Records a finished round and raises the best wave when surpassed.- Parameter:
waveReached- the wave the round ended on
-