1package com.runehive.game.action.impl;
3import com.runehive.net.packet.out.SendMessage;
4import com.runehive.game.Animation;
5import com.runehive.game.action.Action;
6import com.runehive.game.action.policy.WalkablePolicy;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.content.activity.impl.barrows.BarrowsUtility;
18 super(player, 2,
false);
30 boolean found =
false;
52 return "Spade Action";
static boolean teleportPlayer(Player player)
Class that models a single animation used by an entity.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
boolean prioritized()
Determines if this action is prioritized.
void onSchedule()
A function executed on registration.
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
SpadeAction(Player player)
String getName()
Gets the name of this action.
void execute()
A function representing the unit of work that will be carried out.
synchronized final void cancel()
Cancels all subsequent executions.
This class represents a character controlled by a player.
The OutgoingPacket that sends a message to a Players chatbox in the client.
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.