Jump to content

what is the play method ?


hansen19498

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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