Skip to content

Instantly share code, notes, and snippets.

@NimbusBP1729
Last active August 29, 2015 13:56
Show Gist options
  • Save NimbusBP1729/9065085 to your computer and use it in GitHub Desktop.
Save NimbusBP1729/9065085 to your computer and use it in GitHub Desktop.
//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