java.lang.Object
fr.r1r0r0.deltaengine.model.sprites.shapes.Shape
All Implemented Interfaces:
Sprite
Direct Known Subclasses:
Circle, Ellipse, Rectangle

public abstract class Shape
extends java.lang.Object
implements Sprite
Shape Sprite abstract class for closed shapes
  • Constructor Summary

    Constructors
    Constructor Description
    Shape()  
  • Method Summary

    Modifier and Type Method Description
    abstract javafx.scene.shape.Shape getFXShape()
    more often than not, Javafx is used for shapes
    javafx.scene.Node getNode()
    The Sprite object

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.r1r0r0.deltaengine.model.sprites.Sprite

    getLayout, getRotate, getScale, getSize, getZOrder, resize, setLayout, setLayout, setRotate, setScale, setZOrder
  • Constructor Details

    • Shape

      public Shape()
  • Method Details

    • getFXShape

      public abstract javafx.scene.shape.Shape getFXShape()
      more often than not, Javafx is used for shapes
      Returns:
      the javafx shape used if any
    • getNode

      public final javafx.scene.Node getNode()
      Description copied from interface: Sprite
      The Sprite object
      Specified by:
      getNode in interface Sprite
      Returns:
      the Sprite object