lib/cedar/resources/resource_loader.rb
def load_sound(name) # todo? :volume :speed :looping
    Gosu::Sample.new(get_file_path(name))
  rescue
    raise "Cannot load_sound #{name.inspect}"
  end
# Returns a Gosu::Sample for the named sound file
Returns a Gosu::Sample for the named sound file
Returns a Gosu :: Sample for the named sound file
def load_sound(name) 
    Gosu::Sample.new(get_file_path(name))
  rescue
    raise "Cannot load_sound #{name.inspect}"
  end
def load_sound ( name ) Gosu :: Sample . new ( get_file_path ( name ) ) rescue raise "Cannot load_sound #{name.inspect}" end
Returns a Gosu::Sample for the named sound file
Returns a Gosu :: Sample for the named sound file
# todo? :volume :speed :looping
name