Edited for testing sound
This commit is contained in:
parent
1bb6e9e427
commit
47de3ed661
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package ei.game.gamestate;
|
||||
|
||||
import ei.engine.math.Vector2f;
|
||||
import ei.engine.scene.Node;
|
||||
import ei.engine.scene.Sprite;
|
||||
import ei.engine.sound.Sound;
|
||||
|
|
@ -29,7 +30,7 @@ public class InGameState extends GameState{
|
|||
@Override
|
||||
public void update() {
|
||||
sprite1.getLocation().add(0.1f);
|
||||
sound1.getLocation().add(0.1f);
|
||||
sound1.getLocation().add(new Vector2f(1,0));
|
||||
rootNode.update();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue