Method: ResourceManager#load_music

Defined in:
lib/gamebox/core/resource_manager.rb

#load_music(full_name) ⇒ Object



96
97
98
99
100
101
102
103
# File 'lib/gamebox/core/resource_manager.rb', line 96

def load_music(full_name)
  begin
    music = Song.new(@window, full_name)
    return music
  rescue Exception => ex
    log "Cannot load music " + full_name + " : " + ex, :warn
  end
end