Keroro Posted August 22, 2009 Share Posted August 22, 2009 stavo cercando una classe timer ma non la trovo, esiste?vorrei che il timer eseguisse il metodo dopo tot tempoesempio: @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 More sharing options...
Question
Keroro
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now