Class InvisibleSprite
java.lang.Object
fr.r1r0r0.deltaengine.model.sprites.InvisibleSprite
- All Implemented Interfaces:
Sprite
public final class InvisibleSprite extends java.lang.Object implements Sprite
Invisible Sprite
-
Field Summary
Fields Modifier and Type Field Description private javafx.scene.Node
node
-
Constructor Summary
Constructors Modifier Constructor Description private
InvisibleSprite()
Cannot be instanced -
Method Summary
Modifier and Type Method Description static InvisibleSprite
getInstance()
Get an instance Invisible Spritejavafx.scene.Node
getNode()
The Sprite objectvoid
resize(double width, double height)
resize the sprite to the following width and heightMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
node
private final javafx.scene.Node node
-
-
Constructor Details
-
InvisibleSprite
private InvisibleSprite()Cannot be instanced
-
-
Method Details
-
getNode
public javafx.scene.Node getNode()Description copied from interface:Sprite
The Sprite object -
resize
public void resize(double width, double height)Description copied from interface:Sprite
resize the sprite to the following width and height -
getInstance
Get an instance Invisible Sprite- Returns:
- an instance Invisible Sprite
-