Fixed some things in sound classes
This commit is contained in:
parent
a757d93f59
commit
1bb6e9e427
3 changed files with 25 additions and 17 deletions
|
|
@ -17,7 +17,7 @@ public class InGameState extends GameState{
|
|||
sprite1 = new Sprite("tank","data/units/tank.png");
|
||||
rootNode.add(sprite1);
|
||||
sound1 = new Sound("sound","data/sounds/test.wav");
|
||||
sound1.play(1, 1);
|
||||
sound1.play();
|
||||
rootNode.add(sound1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue