java.lang.Object
com.adventure.Resources
Class used to gather useful resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns asset path is availablestatic javafx.scene.layout.BackgroundImage
getBackground
(String source) Returns background image.
-
Constructor Details
-
Resources
public Resources()
-
-
Method Details
-
getBackground
Returns background image.- Parameters:
source
- Source of the background image.- Returns:
- Background image.
-
getAssetsPath
Returns asset path is available- Returns:
- Asset path or null if the path is not found.
-