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 Sprite
    javafx.scene.Node getNode()
    The Sprite object
    void resize​(double width, double height)
    resize the sprite to the following width and height

    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, setLayout, setLayout, setRotate, setScale, setZOrder
  • 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
      Specified by:
      getNode in interface Sprite
      Returns:
      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
      Specified by:
      resize in interface Sprite
    • getInstance

      public static InvisibleSprite getInstance()
      Get an instance Invisible Sprite
      Returns:
      an instance Invisible Sprite