Jump to content
Rpg²S Forum
  • 0

Timer


Keroro
 Share

Question

stavo cercando una classe timer ma non la trovo, esiste?

vorrei che il timer eseguisse il metodo dopo tot tempo

esempio: @timer = Timer.new(40, metodo) #esegue metodo dopo 40 millisecondi

 

altrimenti me la creo: per la gestione del tempo esistono solo sleep e Time.now ?

I Miei Script:
Salva Schermata (3 Aprile 2012)
Attacco Personalizzabile (2 Aprile 2012)
Keyboard Input (Porting) (17 Marzo 2012)
Continua...

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
 Share

×
×
  • Create New...