struct Srcom::Game::Assets

Overview

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.

Included Modules

Defined in:

srcr/mappings/game/assets/assets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def background : Asset | Nil #

[View source]
def background=(background : Asset | Nil) #

[View source]
def cover_large : Asset #

[View source]
def cover_large=(cover_large : Asset) #

[View source]
def cover_medium : Asset #

[View source]
def cover_medium=(cover_medium : Asset) #

[View source]
def cover_small : Asset #

[View source]
def cover_small=(cover_small : Asset) #

[View source]
def cover_tiny : Asset #

[View source]
def cover_tiny=(cover_tiny : Asset) #

[View source]
def foreground : Asset | Nil #

[View source]
def foreground=(foreground : Asset | Nil) #

[View source]
def icon : Asset #

[View source]
def icon=(icon : Asset) #

[View source]
def logo : Asset #

[View source]
def logo=(logo : Asset) #

[View source]
def trophy_1st : Asset #

[View source]
def trophy_1st=(trophy_1st : Asset) #

[View source]
def trophy_2nd : Asset #

[View source]
def trophy_2nd=(trophy_2nd : Asset) #

[View source]
def trophy_3rd : Asset #

[View source]
def trophy_3rd=(trophy_3rd : Asset) #

[View source]
def trophy_4th : Asset | Nil #

[View source]
def trophy_4th=(trophy_4th : Asset | Nil) #

[View source]