Jump to content

what is the play method ?


Recommended Posts

Posted (edited)

http://osbot.org/forum/topic/103067-audio-sound-snippet/?p=1255205

 

 

 

I've added all the code, but I do not know how to call it and can play it

I've added all the code, but I do not know how to call it and can play it

 

 

 

For example: stop (); The game will stop. This should be play () ;? or .... I do not know, I hope you can understand what I mean

 

 

 

 
private Sound s;
int XX=1;
 
 
if(XX==1){s.play(); sleep(random(1013, 1233));return State.WAIT;}
 
After the implementation, stuck
 
Edited by hansen19498

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...