This commit is contained in:
Jesper Lundin 2007-04-24 12:57:38 +00:00
parent 2cf489403d
commit 515281351c
10 changed files with 64 additions and 17 deletions

View file

@ -23,10 +23,12 @@ public class APU extends Unit{
}
public APU(int x, int y, Player p){
super(100, new Vector2i(x,y), p);
super(70, new Vector2i(x,y), p);
this.sprite = new Sprite("APU", "data/units/apu/apu0000.png");
sprite.setSize(new Vector2f(40,40));
getNode().add(sprite);
setBuildTime(20);
setPrice(200);
gunSound = new Sound("gunSound", "data/sounds/machinegun.wav");
moveSound[0] = new Sound("moveSound", "data/sounds/APUmove1.wav");