RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.action.Action< T extends Mob > Class Template Referenceabstract
Inheritance diagram for com.osroyale.game.action.Action< T extends Mob >:
Collaboration diagram for com.osroyale.game.action.Action< T extends Mob >:

Public Member Functions

 Action (T mob, int delay, boolean instant)
 Action (T mob, int delay)
getMob ()
boolean prioritized ()
abstract WalkablePolicy getWalkablePolicy ()
abstract String getName ()
Public Member Functions inherited from com.osroyale.game.task.Task
 Task (boolean instant, int delay)
 Task (int delay)
boolean canRun ()
synchronized final void cancel ()
synchronized final void cancel (boolean logout)
Task attach (Object newKey)
boolean isInstant ()
int getDelay ()
void setDelay (int delay)
boolean isRunning ()
Optional< Object > getAttachment ()

Additional Inherited Members

Protected Member Functions inherited from com.osroyale.game.task.Task
abstract void execute ()
void onSchedule ()
boolean canSchedule ()
void onCancel (boolean logout)

Detailed Description

Represents an action an entity can execute.

Author
Stand Up

Definition at line 12 of file Action.java.

Constructor & Destructor Documentation

◆ Action() [1/2]

com.osroyale.game.action.Action< T extends Mob >.Action ( T mob,
int delay,
boolean instant )
inline

Creates a new Action randomevent.

Parameters
mobmob.
instantinstant.
delaydelay.

Definition at line 24 of file Action.java.

◆ Action() [2/2]

com.osroyale.game.action.Action< T extends Mob >.Action ( T mob,
int delay )
inline

Creates a new Action randomevent.

Parameters
mobmob.
delaydelay.

Definition at line 35 of file Action.java.

Member Function Documentation

◆ getMob()

T com.osroyale.game.action.Action< T extends Mob >.getMob ( )
inline

Gets the player.

Returns
The player.

Definition at line 44 of file Action.java.

◆ getName()

◆ getWalkablePolicy()

◆ prioritized()


The documentation for this class was generated from the following file: