Sha256: 49c7458a1f6eb4b953597ce5646a15787137540fbcd72c7a27fbebcc4a83dda3

Contents?: true

Size: 877 Bytes

Versions: 1

Compression:

Stored size: 877 Bytes

Contents

# Ruby2D module and native extension loader, adds DSL

require 'ruby2d/colorize'
require 'ruby2d/exceptions'
require 'ruby2d/renderable'
require 'ruby2d/color'
require 'ruby2d/window'
require 'ruby2d/dsl'
require 'ruby2d/quad'
require 'ruby2d/line'
require 'ruby2d/circle'
require 'ruby2d/rectangle'
require 'ruby2d/square'
require 'ruby2d/triangle'
require 'ruby2d/image'
require 'ruby2d/sprite'
require 'ruby2d/font'
require 'ruby2d/text'
require 'ruby2d/sound'
require 'ruby2d/music'

if RUBY_PLATFORM =~ /mingw/
  # When using the Windows CI AppVeyor
  if ENV['APPVEYOR']
    s2d_dll_path = 'C:\msys64\usr\local\bin'
  # When in a standard MinGW shell
  else
    s2d_dll_path = '~/../../usr/local/bin'
  end
  RubyInstaller::Runtime.add_dll_directory(File.expand_path(s2d_dll_path))
end

require 'ruby2d/ruby2d'  # load native extension

include Ruby2D
extend  Ruby2D::DSL

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby2d-0.7.0 lib/ruby2d.rb