Srcom::Game::Assets
Inherits JSON::Serializable / Struct / Value / Object
All Assets besides #trophy_4th, #background, and #foreground are always present.
If the Game's moderators haven't set any of them, the links will lead to speedrun.com's default
graphics.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
background
Sourcebackground=(background : Asset | Nil)
Sourcecover_large
Sourcecover_large=(cover_large : Asset)
Sourcecover_medium
Sourcecover_medium=(cover_medium : Asset)
Sourcecover_small
Sourcecover_small=(cover_small : Asset)
Sourcecover_tiny
Sourcecover_tiny=(cover_tiny : Asset)
Sourceforeground
Sourceforeground=(foreground : Asset | Nil)
Sourceicon
Sourceicon=(icon : Asset)
Sourcelogo
Sourcelogo=(logo : Asset)
Sourcetrophy_1st
Sourcetrophy_1st=(trophy_1st : Asset)
Sourcetrophy_2nd
Sourcetrophy_2nd=(trophy_2nd : Asset)
Sourcetrophy_3rd
Sourcetrophy_3rd=(trophy_3rd : Asset)
Sourcetrophy_4th
Sourcetrophy_4th=(trophy_4th : Asset | Nil)
Source