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:
parent
28c3cd0529
commit
448fca2fdf
19 changed files with 833 additions and 36 deletions
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue