1package com.runehive.game.world.entity.combat.effect;
3import com.runehive.game.task.Task;
4import com.runehive.game.world.entity.mob.Mob;
27 super(
false,
effect.getDelay());
synchronized final void cancel()
Cancels all subsequent executions.
Task(boolean instant, int delay)
Creates a new Task.
Some sort of temporary effect applied to a Mob during combat.
final Mob mob
The mob that this task is for.
CombatEffectTask(Mob mob, CombatEffect effect)
Creates a new CombatEffectTask.
final CombatEffect effect
The combat effect that is being processed.
void execute()
A function representing the unit of work that will be carried out.