Show opponents hp in menu, your target colored, targeting you *
This commit is contained in:
@@ -64,8 +64,11 @@ public interface Actor extends Entity, Locatable
|
||||
* </ul>
|
||||
*
|
||||
* @return the actor, null if no interaction is occurring
|
||||
*
|
||||
* (getRSInteracting returns the npc/player index, useful for menus)
|
||||
*/
|
||||
Actor getInteracting();
|
||||
int getRSInteracting();
|
||||
|
||||
/**
|
||||
* Gets the health ratio of the actor.
|
||||
|
||||
@@ -341,9 +341,12 @@ public interface Client extends GameShell
|
||||
* Gets the logged in player instance.
|
||||
*
|
||||
* @return the logged in player
|
||||
*
|
||||
* (getLocalPlayerIndex returns the local index, useful for menus/interacting)
|
||||
*/
|
||||
@Nullable
|
||||
Player getLocalPlayer();
|
||||
int getLocalPlayerIndex();
|
||||
|
||||
/**
|
||||
* Gets the item composition corresponding to an items ID.
|
||||
|
||||
Reference in New Issue
Block a user