This commit is contained in:
Jesper Lundin 2007-04-23 15:24:59 +00:00
parent b126251957
commit ba3daada90
14 changed files with 48 additions and 1 deletions

View file

@ -30,6 +30,7 @@ public class APU extends Unit{
gunSound = new Sound("gunSound", "data/sounds/machinegun.wav");
moveSound = new Sound("moveSound", "data/sounds/APUmove1.wav");
selectSound = new Sound("selectSound", "data/sounds/APUselect.wav");
attackSound = new Sound("attackSound", "data/sounds/APUattack.wav");
selectionBox = new SelectBox(40,40,getMaxLife());
setLife(50);
@ -60,6 +61,9 @@ public class APU extends Unit{
public Sound getSelectSound() {
return selectSound;
}
public Sound getAttackSound() {
return attackSound;
}
/**
* returns the velocity of the unit type.
* @return