1package com.runehive.content.skill.impl.agility.obstacle.impl;
3import com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction;
4import com.runehive.game.task.Task;
5import com.runehive.game.world.World;
6import com.runehive.game.world.entity.mob.player.Player;
7import com.runehive.game.world.entity.skill.Skill;
8import com.runehive.game.world.object.ObjectDirection;
9import com.runehive.game.world.position.Position;
10import com.runehive.game.world.object.GameObject;
11import com.runehive.net.packet.out.SendMessage;
39 player.
face(finalDestination);
61 player.
send(
new SendMessage(
"Welcome the the wilderness agility course. Be careful :)"));
final DialogueFactory execute()
Retrieves the next dialogue in the chain and executes it.
final DialogueFactory sendStatement(String... lines)
Appends a StatementDialogue to the current dialogue chain.
A game representing a cyclic unit of work.
Represents the game world.
static void schedule(Task task)
Submits a new event.
MobAnimation mobAnimation
final SkillManager skills
final GenericAttributes attributes
void face(GameObject object)
Sets the client update flag to face a certain direction.
void walk(Position position)
Walks to a certain position.
This class represents a character controlled by a player.
DialogueFactory dialogueFactory
void send(OutgoingPacket encoder)
Represents a trainable and usable skill.
static final int AGILITY
The agility skill id.
int getLevel(int id)
Gets the level of a skill.
Represents a single tile on the game world.
boolean equals(Object obj)
The OutgoingPacket that sends a message to a Players chatbox in the client.
public< K, E > E get(K key)
Gets a generic attribute.
The enumerated type whose elements represent the directions for objects.
SOUTH
The south orientation.
default void execute(Player player, Obstacle next, Position start, Position end, int level, float experience, int ordinal)
default boolean canExecute(Player player, int level)
default void onExecution(Player player, Position start, Position end)
default void onCancellation(Player player)
default void start(Player player)
Represents a game object.