1package com.runehive.game.world.entity.combat.strategy.npc.boss.skotizo;
3import com.runehive.game.task.Task;
4import com.runehive.game.world.World;
5import com.runehive.util.Stopwatch;
7import java.util.concurrent.TimeUnit;
26 if (
stopwatch.elapsedTime(TimeUnit.MINUTES) >= 120) {
34 if (
stopwatch.elapsedTime(TimeUnit.MINUTES) >= 20) {
41 World.
sendMessage(
"<icon=6><col=8714E6> Skotizo has disappeared! He will return in 60 minutes.");
Task(boolean instant, int delay)
Creates a new Task.
Represents the game world.
static void schedule(Task task)
Submits a new event.
static void sendMessage(String... messages)
Sends a global message.
final boolean isRegistered()
void execute()
A function representing the unit of work that will be carried out.
final Stopwatch stopwatch
Created by Daniel on 2017-12-20.
static Npc generateSpawn()
void unregister()
Unregisters an entity from the World.