Page 1 of 1

sleep

Posted: Sun Oct 25, 2009 2:47 pm
by Seraph
what is the code for the sleep function?

Posted: Sun Oct 25, 2009 3:14 pm
by someguy99

Code: Select all

device->sleep(5000);
Sleeps for 5 seconds.

Posted: Sun Oct 25, 2009 7:12 pm
by Seraph
don't work...

error: 'class irr::IrrlichtDevice' has no member named 'sleep'

Posted: Sun Oct 25, 2009 8:14 pm
by hybrid
Then you're using Irrlicht 1.2 or even older... that's not our problem

Posted: Sun Oct 25, 2009 8:36 pm
by Brkopac
Seraph wrote:don't work...

error: 'class irr::IrrlichtDevice' has no member named 'sleep'
This works for me with the current SVN trunk.