public class FightStatistics
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
FightStatistics() |
FightStatistics(int hits,
int longestCombo,
int potionsThrow,
int potionsMissed,
double potionIntensities) |
Modifier and Type | Method and Description |
---|---|
void |
addIntensity(double intensity) |
int |
getAccuracy() |
int |
getCurrentCombo() |
int |
getHits()
How many times this player has hit someone
|
long |
getLastHit() |
int |
getLongestCombo() |
int |
getPotionsMissed() |
int |
getPotionsThrown() |
void |
setCurrentCombo(int currentCombo) |
void |
setHits(int hits) |
void |
setLastHit(long lastHit) |
void |
setLongestCombo(int longestCombo) |
void |
setPotionsMissed(int potionsMissed) |
void |
setPotionsThrown(int potionsThrown) |
public FightStatistics()
public FightStatistics(int hits, int longestCombo, int potionsThrow, int potionsMissed, double potionIntensities)
public int getHits()
public void setHits(int hits)
public int getCurrentCombo()
public void setCurrentCombo(int currentCombo)
public int getLongestCombo()
public void setLongestCombo(int longestCombo)
public int getPotionsThrown()
public void setPotionsThrown(int potionsThrown)
public int getPotionsMissed()
public void setPotionsMissed(int potionsMissed)
public void addIntensity(double intensity)
public long getLastHit()
public void setLastHit(long lastHit)
public int getAccuracy()