1package com.runehive.game.action.impl;
3import com.runehive.game.Animation;
4import com.runehive.game.Graphic;
5import com.runehive.game.action.Action;
6import com.runehive.game.action.policy.WalkablePolicy;
7import com.runehive.game.world.entity.mob.player.Player;
33 super(player, 3,
true);
Class that models a single animation used by an entity.
Represents a single graphic that can be used by entities.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
String getName()
Gets the name of this action.
final int graphic
The graphic identification.
boolean prioritized()
Determines if this action is prioritized.
void execute()
A function representing the unit of work that will be carried out.
final int animation
The animation identification.
EmoteAction(Player player, int animation, int graphic)
Constructs a new EmoteAction.
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
synchronized final void cancel()
Cancels all subsequent executions.
This class represents a character controlled by a player.
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.