Sha256: 7dc7d76de90bf4f5879828fd05fb8b652dd20a70f1c6acc8928d305ee5a14b73

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

GAMEBOX_PATH = File.join(File.dirname(__FILE__),"gamebox/")
require 'publisher'
require 'conject'
require 'kvo'
require 'tween'
require 'gosu'
include Gosu

require 'forwardable'

# TODO move this to some logging class
def log(output, level = :debug)
  t = Time.now
  puts "[#{t.min}:#{t.sec}:#{t.usec}] [#{level}] #{output}"
end

begin
  require 'pry'
  require 'pry-remote'
rescue LoadError
end

begin
  require 'chipmunk'
rescue LoadError
end

require "#{GAMEBOX_PATH}/version.rb"
require 'require_all'
directory_load_order = %w(lib core post_setup_handlers actors behaviors views)
directory_load_order.each do |dir|
  require_all "#{GAMEBOX_PATH}/#{dir}/**/*.rb"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamebox-0.5.5 lib/gamebox.rb
gamebox-0.5.4 lib/gamebox.rb
gamebox-0.5.2 lib/gamebox.rb
gamebox-0.5.1 lib/gamebox.rb