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.Nodenode -
Constructor Summary
Constructors Modifier Constructor Description privateInvisibleSprite()Cannot be instanced -
Method Summary
Modifier and Type Method Description static InvisibleSpritegetInstance()Get an instance Invisible Spritejavafx.scene.NodegetNode()The Sprite objectvoidresize(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:SpriteThe Sprite object -
resize
public void resize(double width, double height)Description copied from interface:Spriteresize the sprite to the following width and height -
getInstance
Get an instance Invisible Sprite- Returns:
- an instance Invisible Sprite
-