Last active
July 19, 2016 17:53
-
-
Save truelinux/f55d9c4f1956e5989354d2fe456c11ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void tick(int tick) { | |
if((lastTick - lastRun) >= 20) { | |
//Everything here will be ran each second | |
} | |
if((lastTick - lastRun) >= 20 * 30) { | |
//Everything here will be ran each second | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment