Interface MapObject

    • Method Detail

      • getName

        @NotNull
        @NotNull java.lang.String getName()
      • getPosX

        int getPosX()
      • getPosY

        int getPosY()
      • getWidth

        int getWidth()
      • getHeight

        int getHeight()
      • intersects

        boolean intersects​(@NotNull
                           @NotNull Actor actor)
        Returns:
        true if the object intersects with actor.
      • getCenterPosition

        @NotNull
        default @NotNull Point getCenterPosition()
        Returns:
        center position of the object.