SHARE
TWEET
Untitled
a guest
Nov 20th, 2016
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- long gameStartedTimer = 0;
- //on screen show
- gameStartedTimer = TimeUtils.nanoTime();
- //update method
- if (!gameStarted) {
- if (TimeUtils.timeSinceNanos(gameStartedTimer) > 1000000000) { // 350
- gameStarted = true;
- gameStartedTimer = TimeUtils.nanoTime();
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

