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.
  • Field Details

  • Method Details

    • getType

      Gets the type of the object.
      Returns:
      SceneObject.SceneObjectType
    • getTileHeight

      int getTileHeight()
      Gets the objects tile height.
      Returns:
      int
    • getSecondRotation

      int getSecondRotation()
      Gets the optional second rotation of the object.
      Returns:
      rotation or -1
    • getSecondDirection

      Direction getSecondDirection()
      Gets the optional cardinal direction of the object.
      Returns:
      direction or null
      See Also: