Package com.epicbot.api.shared.entity
Interface SceneObject
-
- All Superinterfaces:
Actionable
,Clickable
,GameEntity
,Identifiable
,Interactable
,Locatable
,LocatableEntity
,Modeled
,Nameable
,Renderable
,Rotatable
,Validatable
public interface SceneObject extends GameEntity, Actionable, Rotatable, Identifiable, Nameable
An entity that represents a game object within the current scene. For example a door, wall or floor/wall decorations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SceneObject.SceneObjectType
The different types of scene objects.
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_BOUNDARY
static int
TYPE_FLOOR_DECORATION
static int
TYPE_GAMEOBJECT
static int
TYPE_WALL_DECORATION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Direction
getSecondDirection()
Gets the optional cardinal direction of the object.Model
getSecondModel()
Gets the optional second model of the object.int
getSecondRotation()
Gets the optional second rotation of the object.int
getTileHeight()
Gets the objects tile height.SceneObject.SceneObjectType
getType()
Gets the type of the object.-
Methods inherited from interface com.epicbot.api.shared.entity.details.Actionable
getActions, hasAction, hasActionMatch
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Clickable
click, click, hover
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Identifiable
getId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Interactable
interact, interact, interact, interact, interact, interactMatch
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Locatable
canReach, canReach, canReach, derive, derive, distanceTo, distanceTo, getArea, getArea, getLocation, getMapPoint, getPlane, getSceneOffset, getX, getY, isOnMap, randomize, randomize, randomize
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Modeled
getModel, getModelHeight, getModelId
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Renderable
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Rotatable
getDirection, getRotation, isFacing, isFacingMe
-
Methods inherited from interface com.epicbot.api.shared.entity.details.Validatable
isValid
-
-
-
-
Field Detail
-
TYPE_GAMEOBJECT
static final int TYPE_GAMEOBJECT
- See Also:
- Constant Field Values
-
TYPE_FLOOR_DECORATION
static final int TYPE_FLOOR_DECORATION
- See Also:
- Constant Field Values
-
TYPE_BOUNDARY
static final int TYPE_BOUNDARY
- See Also:
- Constant Field Values
-
TYPE_WALL_DECORATION
static final int TYPE_WALL_DECORATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
SceneObject.SceneObjectType getType()
Gets the type of the object.- Returns:
SceneObject.SceneObjectType
-
getTileHeight
int getTileHeight()
Gets the objects tile height.- Returns:
- int
-
getSecondModel
Model getSecondModel()
Gets the optional second model of the object.- Returns:
- second model, usually null
-
getSecondRotation
int getSecondRotation()
Gets the optional second rotation of the object.- Returns:
- rotation or -1
-
-