|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mlw.fps.model.business.vo.WeaponUsage | +--com.mlw.fps.model.business.vo.stats.WeaponStats
Field Summary |
Fields inherited from class com.mlw.fps.model.business.vo.WeaponUsage |
damage, deaths, hits, kills, locations, percentages, player, shots, tks, weapon |
Constructor Summary | |
WeaponStats()
Creates a new instance of WeaponStats |
|
WeaponStats(Weapon weapon)
Creates a new instance of WeaponStats |
|
WeaponStats(Weapon weapon,
java.lang.Long total)
Creates a new instance of WeaponStats |
|
WeaponStats(Weapon weapon,
Player victim)
Creates a new instance of WeaponStats |
Method Summary | |
java.lang.Double |
getAccuracy()
|
java.lang.Long |
getAdvantage()
|
java.lang.Long |
getAdvantagePercentage()
|
java.lang.Long |
getDamage()
Getter for property damage. |
java.lang.Long |
getDeaths()
Getter for property received. |
java.lang.Long |
getDisAdvantagePercentage()
|
java.lang.Double |
getEffeciency()
|
java.lang.Long |
getHits()
Getter for property hits. |
Player |
getKiller()
Getter for property killer. |
java.lang.Long |
getKills()
Getter for property usage. |
java.lang.Double |
getKillToDeathRatio()
|
java.lang.Double |
getPercentage()
|
java.lang.Long |
getShots()
Getter for property shots. |
Player |
getVictim()
Getter for property victim. |
void |
setKiller(Player killer)
Setter for property killer. |
void |
setVictim(Player victim)
Setter for property victim. |
Methods inherited from class com.mlw.fps.model.business.vo.WeaponUsage |
add, addDamage, addDeaths, addHits, addKills, addShots, getLocations, getPercentages, getPlayer, getTks, getWeapon, setDamage, setDeaths, setHits, setKills, setLocations, setPlayer, setShots, setTks, setWeapon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeaponStats()
public WeaponStats(Weapon weapon)
public WeaponStats(Weapon weapon, Player victim)
public WeaponStats(Weapon weapon, java.lang.Long total)
Method Detail |
public java.lang.Double getPercentage()
public java.lang.Long getKills()
getKills
in class WeaponUsage
public Player getKiller()
public void setKiller(Player killer)
killer
- New value of property killer.public Player getVictim()
public void setVictim(Player victim)
victim
- New value of property victim.public java.lang.Long getDeaths()
getDeaths
in class WeaponUsage
public java.lang.Long getAdvantage()
public java.lang.Double getKillToDeathRatio()
public java.lang.Double getAccuracy()
public java.lang.Double getEffeciency()
public java.lang.Long getAdvantagePercentage()
public java.lang.Long getDisAdvantagePercentage()
public java.lang.Long getShots()
getShots
in class WeaponUsage
public java.lang.Long getHits()
getHits
in class WeaponUsage
public java.lang.Long getDamage()
getDamage
in class WeaponUsage
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |