I have a piece of code that uses GSPlayer. Each sprite carries a GSPlayer sound. How would I initialize this currently this does not work:
- class level{
- ...
- Instrument sax;
- void SomeFunc(){
- sax = new Instrument(loadImage("saxophone.jpeg"), music = new GSPlayer(this, "Saxophone.m4a", GSVideo.AUDIO));
- }
1