struct Srcom::Game::Assets
- Srcom::Game::Assets
- Struct
- Value
- Object
Overview
All Asset
s 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.
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/game/assets/assets.crConstructors
Instance Method Summary
- #background : Asset | Nil
- #background=(background : Asset | Nil)
- #cover_large : Asset
- #cover_large=(cover_large : Asset)
- #cover_medium : Asset
- #cover_medium=(cover_medium : Asset)
- #cover_small : Asset
- #cover_small=(cover_small : Asset)
- #cover_tiny : Asset
- #cover_tiny=(cover_tiny : Asset)
- #foreground : Asset | Nil
- #foreground=(foreground : Asset | Nil)
- #icon : Asset
- #icon=(icon : Asset)
- #logo : Asset
- #logo=(logo : Asset)
- #trophy_1st : Asset
- #trophy_1st=(trophy_1st : Asset)
- #trophy_2nd : Asset
- #trophy_2nd=(trophy_2nd : Asset)
- #trophy_3rd : Asset
- #trophy_3rd=(trophy_3rd : Asset)
- #trophy_4th : Asset | Nil
- #trophy_4th=(trophy_4th : Asset | Nil)