sounds
This commit is contained in:
parent
b126251957
commit
ba3daada90
14 changed files with 48 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue