1package com.runehive.game.action.impl;
3import com.runehive.Config;
4import com.runehive.game.action.Action;
5import com.runehive.game.action.policy.WalkablePolicy;
6import com.runehive.game.world.entity.mob.Direction;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.game.world.entity.skill.Skill;
9import com.runehive.game.world.position.Position;
42 return "Rev shortcut";
The class that contains setting-related constants for the server.
static final double AGILITY_MODIFICATION
The experience modification for agility.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
void execute()
A function representing the unit of work that will be carried out.
boolean cancellableInProgress()
RevShortcutAction(Player player, Direction direction, int xp)
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
String getName()
Gets the name of this action.
synchronized final void cancel()
Cancels all subsequent executions.
final SkillManager skills
void forceMove(int animation, int x, int y)
void move(Position position)
Moves the mob to a set position.
This class represents a character controlled by a player.
Represents a trainable and usable skill.
static final int AGILITY
The agility skill id.
void addExperience(int id, double experience)
Adds experience to a given skill.
Represents a single tile on the game world.
int getY()
Gets the absolute y coordinate.
int getX()
Gets the absolute x coordinate.
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.
Represents the enumerated directions an entity can walk or face.