Class GameObject
java.lang.Object
org.highlife.api.wrappers.interactive.interact.Interactable
org.highlife.api.wrappers.interactive.Entity
org.highlife.api.wrappers.interactive.GameObject
- All Implemented Interfaces:
Identifiable,Locatable,Verified
- Direct Known Subclasses:
BoundaryObject,FloorDecoration,SceneObject,WallObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubledistance()doubledoublebooleanexists()String[]intint[]int[]Deprecated.intintDeprecated.intintDeprecated.intintintabstract intgetFlags()intintgetId()abstract longgetIndex()intintintintintintDeprecated.intgetModel()short[]intintintshort[]getName()int[]intintintabstract intabstract intgetPlane()intintDeprecated.intshort[]short[]intgetTile()intintDeprecated.intintDeprecated.intintintgetWidth()intintgetX()intgetY()intgetZ()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidinttileDistance(Tile tile) toString()doublewalkingDistance(Tile tile) Methods inherited from class org.highlife.api.wrappers.interactive.Entity
canReach, equals, getBoundingBox, getCenterPoint, getClickablePoint, getLeftClickAction, getReference, getSurroundingArea, hashCode, interact, interact, interact, interact, interact, interactForceLeft, interactForceRight, isOnScreenMethods inherited from class org.highlife.api.wrappers.interactive.interact.Interactable
hover, rightClickMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.highlife.api.wrappers.interactive.Identifiable
getIDMethods inherited from interface org.highlife.api.wrappers.interactive.Locatable
getGridX, getGridY, getRegionId
-
Constructor Details
-
GameObject
-
-
Method Details
-
getTile
-
setTile
-
getSurrounding
-
getInteractableFrom
-
getObjectTiles
-
getIndex
public abstract long getIndex() -
getActions
- Specified by:
getActionsin classEntity
-
getObjectModelTypes
public int[] getObjectModelTypes() -
getId
public int getId() -
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
getLocalX
public int getLocalX() -
getLocalY
public int getLocalY() -
getPlane
public abstract int getPlane() -
getFlags
public abstract int getFlags() -
getRealID
Deprecated. -
getRealId
public int getRealId() -
getHeight
public int getHeight() -
getRenderableHeight
public int getRenderableHeight()- Specified by:
getRenderableHeightin classEntity
-
getWidth
public int getWidth() -
distance
public double distance() -
distance
-
distance
-
walkingDistance
- Specified by:
walkingDistancein interfaceLocatable- Overrides:
walkingDistancein classEntity
-
tileDistance
-
getName
- Specified by:
getNamein interfaceIdentifiable- Specified by:
getNamein classEntity
-
getOrientation
public abstract int getOrientation() -
getTileReference
- Specified by:
getTileReferencein interfaceLocatable- Overrides:
getTileReferencein classEntity
-
hasAction
-
getModel
-
getModelColors
public short[] getModelColors() -
getModifiedModelColors
public short[] getModifiedModelColors() -
exists
public boolean exists() -
toString
-
canReach
-
getAdjustToTerrain
public int getAdjustToTerrain() -
getAlternativeIDs
Deprecated. -
getAlternativeIds
public int[] getAlternativeIds() -
getAnimationID
Deprecated. -
getAnimationId
public int getAnimationId() -
getBrightness
public int getBrightness() -
getReTextureToFind
public short[] getReTextureToFind() -
getReTextureToReplace
public short[] getReTextureToReplace() -
isOccludes
public boolean isOccludes() -
isImpenetrableSolid
public boolean isImpenetrableSolid() -
getContrast
public int getContrast() -
getWallOrDoor
public int getWallOrDoor() -
getInteractType
public int getInteractType() -
getMapSceneID
Deprecated. -
getMapSceneId
public int getMapSceneId() -
getMiniMapIcon
public int getMiniMapIcon() -
getModelSizeZ
public int getModelSizeZ() -
getModelSizeX
public int getModelSizeX() -
getModelSizeY
public int getModelSizeY() -
getOffsetZ
public int getOffsetZ() -
getOffsetX
public int getOffsetX() -
getOffsetY
public int getOffsetY() -
getVarpID
Deprecated. -
getVarpId
public int getVarpId() -
getVarbitID
Deprecated. -
getVarbitId
public int getVarbitId() -
hasChildDefinitions
public boolean hasChildDefinitions() -
isNonFlatShading
public boolean isNonFlatShading() -
isBlocksProjectiles
public boolean isBlocksProjectiles() -
isCastsShadows
public boolean isCastsShadows() -
getWallThickness
public int getWallThickness() -
getParams
-
getBlockingMask
Deprecated. -
isObstructsGround
public boolean isObstructsGround() -
getSupportsItems
public int getSupportsItems() -
getMapAreaId
public int getMapAreaId() -
isRandomizeAnimationStart
public boolean isRandomizeAnimationStart() -
getCurrentOrientation
public int getCurrentOrientation() -
getAnimationObjectId
public int getAnimationObjectId() -
getWorldViewId
public int getWorldViewId()- Specified by:
getWorldViewIdin classEntity
-