added camera and removed old sound dident work whit the sound system. There is one problem whit the sound system its to quiet

This commit is contained in:
Ziver Koc 2007-03-27 22:51:23 +00:00
parent 28c3cd0529
commit 448fca2fdf
19 changed files with 833 additions and 36 deletions

View file

@ -75,10 +75,15 @@ public class Sound extends Entity{
update();
}
/**
* Updates the sound
*/
public void update() {
//AL10.alSource(source.get(0), AL10.AL_POSITION, sourcePos);
SoundManager.getInstnace().setSoundLocation(
this, getLocation().getX(),getLocation().getY(),getLocation().getZ());
SoundManager.getInstnace().setSoundLocation(this,
getLocation().getX(),
getLocation().getY(),
getLocation().getZ());
}