anyKode Marilou
|
Allows to know simulated time, in milliseconds from the start of the simulation.
MU32 GetTime(void);
The hour of simulation in milliseconds.
//do not write: do { //your program // ... //wait 100ms while(pConnection->GetTime()<lasttime+100) ; //Network overflow and high CPU charge } while(1) //prefer do { //your program // ... //wait 100ms pConnection->Wait(100); //only one network call, no cpu charge } while(1)
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|