1package com.osroyale.game.task.impl;
3import com.osroyale.game.task.Task;
4import com.osroyale.game.world.object.CustomGameObject;
45 private final Runnable onDestination;
49 this(object, delay, () -> {
57 this.onDestination = onDestination;
62 if (!
object.isRegistered())
75 if (
object.isRegistered()) {
synchronized final void cancel()
Task(boolean instant, int delay)
ObjectPlacementEvent(CustomGameObject object, int delay, Runnable onDestination)
void onCancel(boolean logout)
ObjectPlacementEvent(CustomGameObject object, int delay)