|
RuneHive-Game
|
Public Member Functions | |
| InfernoBoss () | |
| void | spawnbosswave (Player player) |
| Public Member Functions inherited from com.runehive.game.task.Task | |
| Task | attach (Object newKey) |
| Attaches a new key. | |
| synchronized final void | cancel () |
| Cancels all subsequent executions. | |
| synchronized final void | cancel (boolean logout) |
| Cancels all subsequent executions. | |
| boolean | canRun () |
| Determines if the task can be ran. | |
| Optional< Object > | getAttachment () |
| String | getCreationStackTraceStr () |
| int | getDelay () |
| Long | getElapsedTimeFromRunStartTime () |
| Optional< Long > | getRunStartTime () |
| long | getTaskCreationTime () |
| String | getTaskId () |
| boolean | isInstant () |
| boolean | isRunning () |
| void | setDelay (int delay) |
| Sets the cyclic delay. | |
| void | setExecutionTime () |
| Task (boolean instant, int delay) | |
Creates a new Task. | |
| Task (int delay) | |
Creates a new Task that doesn't execute instantly. | |
Protected Member Functions | |
| void | execute () |
| A function representing the unit of work that will be carried out. | |
| Protected Member Functions inherited from com.runehive.game.task.Task | |
| void | baseExecute () |
| boolean | canSchedule () |
| A function executed on registration. | |
| void | onCancel (boolean logout) |
| A function executed on cancellation. | |
| void | onSchedule () |
| A function executed on registration. | |
Private Attributes | |
| int | tick |
Additional Inherited Members | |
| Package Functions inherited from com.runehive.game.task.Task | |
| void | onException (Exception e) |
| A function executed on thrown exceptions. | |
| void | onLoop () |
| A function executed when iterated over. | |
| final synchronized void | process () |
| synchronized void | setRunning (boolean running) |
Definition at line 11 of file InfernoBoss.java.
| com.runehive.content.activity.inferno.InfernoBoss.InfernoBoss | ( | ) |
Definition at line 15 of file InfernoBoss.java.
|
protected |
A function representing the unit of work that will be carried out.
Reimplemented from com.runehive.game.task.Task.
Definition at line 78 of file InfernoBoss.java.
Referenced by spawnbosswave().
| void com.runehive.content.activity.inferno.InfernoBoss.spawnbosswave | ( | Player | player | ) |
Definition at line 21 of file InfernoBoss.java.
References com.runehive.game.world.entity.mob.Mob.animate(), com.runehive.game.world.entity.mob.Mob.attack(), execute(), com.runehive.game.world.entity.mob.Mob.face(), com.runehive.game.world.entity.mob.Mob.getCurrentHealth(), com.runehive.game.world.entity.mob.npc.Npc.register(), com.runehive.game.world.World.schedule(), com.runehive.game.world.entity.mob.player.Player.send(), com.runehive.game.task.Task.Task(), tick, and com.runehive.game.world.entity.mob.Mob.walkExactlyTo().
|
private |
Definition at line 13 of file InfernoBoss.java.
Referenced by spawnbosswave().