lib/gosu_extensions.rb in gosu_extensions-0.1.14 vs lib/gosu_extensions.rb in gosu_extensions-0.1.15
- old
+ new
@@ -13,23 +13,34 @@
puts "Couldn't find gem chipmunk. Install using:\n\nsudo gem install chipmunk.\n\n"
raise e
end
require 'resources'
-require 'vector_utilities'
$:.unshift File.join(File.dirname(__FILE__), '/extensions')
require 'module'
require 'numeric'
-$:.unshift File.join(File.dirname(__FILE__), '/traits')
+$:.unshift File.join(File.dirname(__FILE__), '/core')
+require 'vector_utilities'
+require 'initializer_hooks'
+
+require 'trait'
+require 'traits'
require 'it_is_a'
+
+require 'scheduling'
+require 'game_window'
+require 'controls'
+require 'waves'
+require 'layer'
+
+$:.unshift File.join(File.dirname(__FILE__), '/traits')
require 'pod'
require 'attachable'
require 'damaging'
require 'generator'
-require 'initializer_hooks'
require 'lives'
require 'targeting'
require 'targeting/closest'
require 'shooter'
require 'shot'
@@ -41,15 +52,10 @@
require 'short_lived'
$:.unshift File.join(File.dirname(__FILE__), '/units')
require 'thing'
-require 'controls'
require 'menu'
-require 'game_window'
-require 'scheduling'
-require 'waves'
-require 'layer'
DEFAULT_SCREEN_WIDTH = 1200 unless defined?(DEFAULT_SCREEN_WIDTH)
DEFAULT_SCREEN_HEIGHT = 700 unless defined?(DEFAULT_SCREEN_HEIGHT)
SUBSTEPS = 10 unless defined?(SUBSTEPS)
\ No newline at end of file