Package com.treescrub.spedran.data
Class GameAssets
- java.lang.Object
-
- com.treescrub.spedran.data.GameAssets
-
public class GameAssets extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Link>getBackground()Gets aLinkto the background image.LinkgetFirstTrophy()Gets aLinkto the trophy icon that is shown next to the first place run.Optional<Link>getForeground()Gets aLinkto the foreground image.Optional<Link>getFourthTrophy()Gets aLinkto the trophy icon that is shown next to the fourth place run.LinkgetIcon()Gets aLinkto the icon that is shown on the browser tab.LinkgetLargeCover()Gets aLinkto the "large" size version of the cover art for the game or series.LinkgetLogo()Gets aLinkto the Speedrun.com logo at the top left.LinkgetMediumCover()Gets aLinkto the "medium" size version of the cover art for the game or series.LinkgetSecondTrophy()Gets aLinkto the trophy icon that is shown next to the second place run.LinkgetSmallCover()Gets aLinkto the "small" size version of the cover art for the game or series.LinkgetThirdTrophy()Gets aLinkto the trophy icon that is shown next to the third place run.LinkgetTinyCover()Gets aLinkto the "tiny" size version of the cover art for the game or series.
-
-
-
Method Detail
-
getLogo
public Link getLogo()
Gets aLinkto the Speedrun.com logo at the top left.- Returns:
- a
Linkto an image
-
getTinyCover
public Link getTinyCover()
Gets aLinkto the "tiny" size version of the cover art for the game or series.- Returns:
- a
Linkto an image
-
getSmallCover
public Link getSmallCover()
Gets aLinkto the "small" size version of the cover art for the game or series.- Returns:
- a
Linkto an image
-
getMediumCover
public Link getMediumCover()
Gets aLinkto the "medium" size version of the cover art for the game or series.- Returns:
- a
Linkto an image
-
getLargeCover
public Link getLargeCover()
Gets aLinkto the "large" size version of the cover art for the game or series.- Returns:
- a
Linkto an image
-
getIcon
public Link getIcon()
Gets aLinkto the icon that is shown on the browser tab.- Returns:
- a
Linkto an image
-
getFirstTrophy
public Link getFirstTrophy()
Gets aLinkto the trophy icon that is shown next to the first place run.- Returns:
- a
Linkto an image
-
getSecondTrophy
public Link getSecondTrophy()
Gets aLinkto the trophy icon that is shown next to the second place run.- Returns:
- a
Linkto an image
-
getThirdTrophy
public Link getThirdTrophy()
Gets aLinkto the trophy icon that is shown next to the third place run.- Returns:
- a
Linkto an image
-
getFourthTrophy
public Optional<Link> getFourthTrophy()
Gets aLinkto the trophy icon that is shown next to the fourth place run.- Returns:
- an
Optionalwith aLinkto an image, empty if a custom image is not set
-
getBackground
public Optional<Link> getBackground()
Gets aLinkto the background image.- Returns:
- an
Optionalwith aLinkto an image, empty if a custom image is not set
-
-