Class Shape
java.lang.Object
fr.r1r0r0.deltaengine.model.sprites.shapes.Shape
- All Implemented Interfaces:
Sprite
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 shapesjavafx.scene.Node
getNode()
The Sprite objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-