Interface Positionable

All Known Subinterfaces:
Actor, Attachable, Canvas, Mouse, Window
All Known Implementing Classes:
AreaEntity, Background, CellMouseIndicator, CollectableAreaEntity, DraggableAreaEntity, Entity, Foreground, GraphicsEntity, Grid, ImageGraphics, MovableAreaEntity, Node, Path, RPGSprite, ShapeGraphics, Sprite, SwingWindow, Text, TextGraphics

public interface Positionable
Represents an object that can be defined by an affine transform.
  • Method Details

    • getTransform

      Transform getTransform()
      Returns:
      (Transform): affine transform, not null
    • getPosition

      default Vector getPosition()
      Returns:
      (Vector): origin, not null
    • getVelocity

      Vector getVelocity()
      Returns:
      (Vector): linear velocity, not null