1package com.runehive.game.action;
3import com.runehive.game.action.policy.WalkablePolicy;
4import com.runehive.game.task.Task;
5import com.runehive.game.world.entity.mob.Mob;
T getMob()
Gets the player.
boolean prioritized()
Determines if this action is prioritized.
Action(T mob, int delay)
Creates a new Action randomevent.
boolean cancellableInProgress()
final T mob
The Mob associated with this ActionEvent.
abstract WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
abstract String getName()
Gets the name of this action.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
Task(boolean instant, int delay)
Creates a new Task.
final boolean instant
If execution happens instantly upon being scheduled.
int delay
The cyclic delay.
A queue policy determines whether the action can occur while walking.