com.mlw.fps.model.business.vo
Class WeaponUsage

java.lang.Object
  |
  +--com.mlw.fps.model.business.vo.WeaponUsage
Direct Known Subclasses:
WeaponStats

public class WeaponUsage
extends java.lang.Object

Author:
Matthew Wilson

Field Summary
protected  long damage
           
protected  long deaths
           
protected  long hits
           
protected  long kills
           
protected  java.util.Map locations
           
protected  java.util.Map percentages
           
protected  Player player
           
protected  long shots
           
protected  long tks
           
protected  Weapon weapon
           
 
Constructor Summary
WeaponUsage()
          Creates a new instance of WeaponUsage
WeaponUsage(Weapon weapon)
          Creates a new instance of WeaponUsage
 
Method Summary
 void add(WeaponUsage usage)
           
 void addDamage(long damage)
          Setter for property damage.
 void addDeaths(long deaths)
           
 void addHits(long hits)
          Setter for property hits.
 void addKills(long kills)
           
 void addShots(long shots)
          Setter for property shots.
 java.lang.Long getDamage()
          Getter for property damage.
 java.lang.Long getDeaths()
           
 java.lang.Long getHits()
          Getter for property hits.
 java.lang.Long getKills()
           
 java.util.Map getLocations()
           
 java.util.Map getPercentages()
           
 Player getPlayer()
          Getter for property player.
 java.lang.Long getShots()
          Getter for property shots.
 java.lang.Long getTks()
           
 Weapon getWeapon()
          Getter for property weapon.
 void setDamage(java.lang.Long damage)
          Setter for property damage.
 void setDeaths(java.lang.Long long1)
           
 void setHits(java.lang.Long hits)
          Setter for property hits.
 void setKills(java.lang.Long long1)
           
 void setLocations(java.util.Map map)
           
 void setPlayer(Player player)
          Setter for property player.
 void setShots(java.lang.Long shots)
          Setter for property shots.
 void setTks(java.lang.Long long1)
           
 void setWeapon(Weapon weapon)
          Setter for property weapon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weapon

protected Weapon weapon

player

protected Player player

shots

protected long shots

hits

protected long hits

kills

protected long kills

tks

protected long tks

damage

protected long damage

deaths

protected long deaths

locations

protected java.util.Map locations

percentages

protected java.util.Map percentages
Constructor Detail

WeaponUsage

public WeaponUsage()
Creates a new instance of WeaponUsage


WeaponUsage

public WeaponUsage(Weapon weapon)
Creates a new instance of WeaponUsage

Method Detail

add

public void add(WeaponUsage usage)

getWeapon

public Weapon getWeapon()
Getter for property weapon.

Returns:
Value of property weapon.

setWeapon

public void setWeapon(Weapon weapon)
Setter for property weapon.

Parameters:
weapon - New value of property weapon.

getPlayer

public Player getPlayer()
Getter for property player.

Returns:
Value of property player.

setPlayer

public void setPlayer(Player player)
Setter for property player.

Parameters:
player - New value of property player.

getShots

public java.lang.Long getShots()
Getter for property shots.

Returns:
Value of property shots.

setShots

public void setShots(java.lang.Long shots)
Setter for property shots.

Parameters:
shots - New value of property shots.

addShots

public void addShots(long shots)
Setter for property shots.

Parameters:
shots - New value of property shots.

getHits

public java.lang.Long getHits()
Getter for property hits.

Returns:
Value of property hits.

setHits

public void setHits(java.lang.Long hits)
Setter for property hits.

Parameters:
hits - New value of property hits.

addHits

public void addHits(long hits)
Setter for property hits.

Parameters:
hits - New value of property hits.

getDamage

public java.lang.Long getDamage()
Getter for property damage.

Returns:
Value of property damage.

setDamage

public void setDamage(java.lang.Long damage)
Setter for property damage.

Parameters:
damage - New value of property damage.

addDamage

public void addDamage(long damage)
Setter for property damage.

Parameters:
damage - New value of property damage.

getDeaths

public java.lang.Long getDeaths()
Returns:

addDeaths

public void addDeaths(long deaths)

getKills

public java.lang.Long getKills()
Returns:

addKills

public void addKills(long kills)

getTks

public java.lang.Long getTks()
Returns:

setDeaths

public void setDeaths(java.lang.Long long1)
Parameters:
long1 -

setKills

public void setKills(java.lang.Long long1)
Parameters:
long1 -

setTks

public void setTks(java.lang.Long long1)
Parameters:
long1 -

getLocations

public java.util.Map getLocations()
Returns:

setLocations

public void setLocations(java.util.Map map)
Parameters:
map -

getPercentages

public java.util.Map getPercentages()
Returns:


Copyright © 2003 mlavilson. All Rights Reserved.