Last active
August 29, 2015 13:56
-
-
Save NimbusBP1729/9065085 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
//assume you defined the following: | |
Player player = new Player() | |
//and player has a method called player.revive() | |
// | |
Timer.scheduleTask(new CallableTask<Player>(player) { | |
@Override | |
public void run() { | |
caller.revive(); | |
} | |
} | |
,3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment