This commit is contained in:
Jesper Lundin 2007-04-18 17:13:29 +00:00
parent 921b30ca95
commit 6d2057f0c2
5 changed files with 60 additions and 13 deletions

View file

@ -47,6 +47,9 @@ public abstract class Weapon {
public void setDamage(int damage) {
this.damage = damage;
}
public int getDamage() {
return this.damage;
}
/**
* Launches the weapon type.
* @param target