static public void SetTimer(TimerID nEvent, int nElapse, _OnTimer handler) { mSetTimer(nEvent, nElapse, handler); }
void setTimerSoft(TimerID id, int value) { //Timers::iterator i = mTimers.find(id); //if (i == mTimers.end()) //{ // mTimers[id] = value; //} //else if (i.second < value) //{ // i.second = value; //} }
void setTimerHard(TimerID id, int value) { //mTimers[id] = value; }
bool isTimerRunning(TimerID id) { return getTimer(id)>0; }
bool isTimerJustFinished(TimerID id) { //return getTimer(id) == 0; //return 0; //TODO Funktion mit Original vergleichen return true; //ssk }
int getTimer(TimerID id) { //Timers::const_iterator i = mTimers.find(id); //return (i == mTimers.end()) ? -1 : i.second; return 0; //ssk }