[Sch][Agar] Use XM7_timeGetTime(),XM7_Sleep() instead of AG_GetTicks(), AG_Delay().