Added a method to schedule a task to run after an amount of game ticks.