com.fuckingbrit.q3astats
Class Weapon

java.lang.Object
  |
  +--com.fuckingbrit.q3astats.Weapon

public class Weapon
extends java.lang.Object

The weapon class encapsulates weapons. A weapon has a name (key to the object) and a kill and death count.

Version:
1.0
Author:
Michael Jervis (mike@fuckingbrit.com)

Field Summary
 int deaths
          The count of kills FROM this weapon
 int kills
          The count of kills WITH this weapon
 java.lang.String name
          The name of the weapon for display
 
Constructor Summary
Weapon(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the weapon for display


kills

public int kills
The count of kills WITH this weapon


deaths

public int deaths
The count of kills FROM this weapon

Constructor Detail

Weapon

public Weapon(java.lang.String name)
Parameters:
name - display name of the weapon.