Class Entity
java.lang.Object
org.highlife.api.wrappers.interactive.interact.Interactable
org.highlife.api.wrappers.interactive.Entity
- All Implemented Interfaces:
Identifiable,Locatable,Verified
- Direct Known Subclasses:
Character,GameObject,GroundItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanReach()doubledistance()doubledoublebooleanbooleanexists()abstract String[]getModel()abstract StringgetName()abstract intgetSurroundingArea(int radius) getTile()abstract intabstract booleaninthashCode()booleaninteract()booleanbooleanbooleanbooleanbooleaninteractForceLeft(String action) booleaninteractForceRight(String action) booleandoublewalkingDistance(Tile tile) Methods inherited from class org.highlife.api.wrappers.interactive.interact.Interactable
hover, rightClickMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.highlife.api.wrappers.interactive.Identifiable
getId, getIDMethods inherited from interface org.highlife.api.wrappers.interactive.Locatable
canReach, getGridX, getGridY, getRegionId, getX, getY, getZ, tileDistance
-
Constructor Details
-
Entity
-
-
Method Details
-
isOnScreen
public boolean isOnScreen() -
getBoundingBox
-
getReference
-
getTileReference
- Specified by:
getTileReferencein interfaceLocatable
-
getModel
-
getRenderableHeight
public abstract int getRenderableHeight() -
getName
- Specified by:
getNamein interfaceIdentifiable
-
hasAction
-
getTile
-
distance
-
distance
public double distance() -
distance
-
walkingDistance
- Specified by:
walkingDistancein interfaceLocatable
-
getClickablePoint
- Specified by:
getClickablePointin classInteractable
-
getCenterPoint
- Specified by:
getCenterPointin classInteractable
-
interact
- Overrides:
interactin classInteractable
-
interact
public boolean interact()- Overrides:
interactin classInteractable
-
getLeftClickAction
-
interact
- Overrides:
interactin classInteractable
-
interactForceRight
- Overrides:
interactForceRightin classInteractable
-
interactForceLeft
- Overrides:
interactForceLeftin classInteractable
-
interact
- Overrides:
interactin classInteractable
-
interact
public boolean interact(String action, boolean rightClick, boolean forceRightClick, Condition interrupt) - Overrides:
interactin classInteractable
-
exists
public boolean exists() -
hashCode
public int hashCode() -
equals
-
getSurroundingArea
-
canReach
public boolean canReach() -
getActions
-
getWorldViewId
public abstract int getWorldViewId()
-