1package com.runehive.game.task;
11 protected abstract void tick();
Task(boolean instant, int delay)
Creates a new Task.
final boolean instant
If execution happens instantly upon being scheduled.
int delay
The cyclic delay.
TickableTask(boolean instant, int delay)
void execute()
A function representing the unit of work that will be carried out.