public interface Actor extends GameEntity, Rotatable, Animable, Identifiable, Nameable
Modifier and Type | Method and Description |
---|---|
Tile |
getDestination()
Gets the walking destination of this actor.
|
int |
getHealthPercent()
Gets the health of this actor.
|
int |
getHeight()
Gets the height of the actor.
|
int[] |
getHitsplatCycles() |
int[] |
getHitsplatTypes() |
int[] |
getHitsplatValues() |
Actor |
getInteracting()
Gets the actor that this actor is interacting with (e.g.
|
java.lang.String |
getMessage()
Gets the dialogue/message above this actors head.
|
int |
getPathSize() |
byte[] |
getPathTraversed() |
int[] |
getPathX() |
int[] |
getPathY() |
int[] |
getSpecialHitsplatValues() |
Direction |
getWalkingDirection()
Gets the direction we are walking towards.
|
default boolean |
isAttacking()
Gets whether or not this actor is attacking.
|
default boolean |
isDead()
Gets whether or not this actor is dead.
|
boolean |
isInCombat()
Gets whether or not this actor is in combat.
|
boolean |
isInteractingWithMe()
Gets whether or not this actor is interacting with the local player.
|
boolean |
isMoving()
Gets whether or not this actor is moving.
|
getId
canReach, canReach, canReach, derive, derive, distanceTo, distanceTo, getArea, getArea, getLocation, getMapPoint, getPlane, getSceneOffset, getX, getY, isOnMap, randomize, randomize, randomize
isValid
getModel, getModelHeight, getModelId
interact, interact, interact, interact, interact, interactMatch
click, click, hover
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
getActions, hasAction, hasActionMatch
getDirection, getRotation, isFacing, isFacingMe
getAnimation, getIdleAnimation, isAnimating
java.lang.String getMessage()
int getHealthPercent()
default boolean isDead()
boolean isMoving()
boolean isInCombat()
default boolean isAttacking()
isInCombat()
and getInteracting()
not being null.int[] getHitsplatCycles()
int[] getHitsplatTypes()
int[] getHitsplatValues()
int[] getSpecialHitsplatValues()
Actor getInteracting()
boolean isInteractingWithMe()
int getHeight()
Tile getDestination()
int getPathSize()
int[] getPathX()
int[] getPathY()
byte[] getPathTraversed()
Direction getWalkingDirection()