1package com.runehive.game.task.impl;
3import com.runehive.game.task.TickableTask;
4import com.runehive.game.world.entity.combat.hit.Hit;
5import com.runehive.game.world.entity.mob.player.Player;
6import com.runehive.game.world.position.Area;
7import com.runehive.net.packet.out.SendCameraReset;
8import com.runehive.net.packet.out.SendCameraShake;
9import com.runehive.util.Utility;
38 player.message(
"Some rocks fall from the ceiling and hit you.");
synchronized final void cancel()
Cancels all subsequent executions.
TickableTask(boolean instant, int delay)
void onSchedule()
A function executed on registration.
void onCancel(boolean logout)
A function executed on cancellation.
CeillingCollapseTask(Player player)
A Hit object holds the damage amount and hitsplat data.
This class represents a character controlled by a player.
Handles checking if mobs are in a certain area.
static boolean inBarrowsChamber(Interactable entity)
The OutgoingPacket resets the camera position for Player.
Handles miscellaneous methods.
static int random(int bound)