Package com.adventure

Class Resources

java.lang.Object
com.adventure.Resources

public class Resources extends Object
Class used to gather useful resources.
  • Constructor Details

    • Resources

      public Resources()
  • Method Details

    • getBackground

      public static javafx.scene.layout.BackgroundImage getBackground(String source)
      Returns background image.
      Parameters:
      source - Source of the background image.
      Returns:
      Background image.
    • getAssetsPath

      public static String getAssetsPath()
      Returns asset path is available
      Returns:
      Asset path or null if the path is not found.