public void waitLimit(int msTime) { int spend = Timer.spend(); if (msTime > spend) { LogEx.i("limited time: wait..."); sleep(msTime - spend); } }
public void startLimit() { Timer.start(); }