Sha256: f2b07762f21259cdf2d4c4e4905099f8e11235b8e13b1b002b12d83742eddfea

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

# music.rb

module Ruby2D
  class Music
    
    attr_accessor :data, :loop
    attr_reader :path
    
    def initialize(path)
      # TODO: Check if file exists
      init(path)
      @path = path
      @loop = false
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby2d-0.3.1 lib/ruby2d/music.rb
ruby2d-0.3.0 lib/ruby2d/music.rb