class Molly2d::Molly::Data

Defined in:

molly/data.cr:5
molly/data.cr:57
molly/data.cr:58
molly/data.cr:59
molly/data.cr:60
molly/drawing/images.cr
molly/sound.cr:9
molly/sound.cr:10

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def background : Color | SDL::Surface #

def background=(background : Color | SDL::Surface) #

def musics : Hash(String, SDL::Mix::Music | Nil) #

def musics=(musics : Hash(String, SDL::Mix::Music | Nil)) #

def renderer : SDL::Renderer #

def renderer=(renderer : SDL::Renderer) #

def samples : Hash(String, SDL::Mix::Sample | Nil) #

def samples=(samples : Hash(String, SDL::Mix::Sample | Nil)) #

def should_quit : Bool #

def should_quit=(should_quit : Bool) #

def textures : Hash(String, SDL::Texture | Nil) #

def textures=(textures : Hash(String, SDL::Texture | Nil)) #

def window : SDL::Window #

def window=(window : SDL::Window) #