sleep

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Seraph
Posts: 68
Joined: Wed Oct 21, 2009 5:58 pm

sleep

Post by Seraph »

what is the code for the sleep function?
someguy99
Posts: 38
Joined: Sun Oct 11, 2009 11:20 am

Post by someguy99 »

Code: Select all

device->sleep(5000);
Sleeps for 5 seconds.
Seraph
Posts: 68
Joined: Wed Oct 21, 2009 5:58 pm

Post by Seraph »

don't work...

error: 'class irr::IrrlichtDevice' has no member named 'sleep'
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Then you're using Irrlicht 1.2 or even older... that's not our problem
Brkopac
Posts: 88
Joined: Fri Sep 19, 2008 2:36 am

Post 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.
Image - The glory days.
Post Reply