Module: Beefdump

Defined in:
lib/beefdump.rb,
lib/beefdump/boot.rb,
lib/beefdump/logger.rb,
lib/beefdump/map/map.rb,
lib/beefdump/game/base.rb,
lib/beefdump/map/layer.rb,
lib/beefdump/game/state.rb,
lib/beefdump/map/object.rb,
lib/beefdump/client/base.rb,
lib/beefdump/config/base.rb,
lib/beefdump/game/player.rb,
lib/beefdump/map/tileset.rb,
lib/beefdump/world/world.rb,
lib/beefdump/world/entity.rb,
lib/beefdump/world/object.rb,
lib/beefdump/world/player.rb,
lib/beefdump/config/blueprint.rb,
lib/beefdump/world/object_property.rb,
lib/beefdump/client/graphical/client.rb,
lib/beefdump/client/graphical/window.rb

Defined Under Namespace

Modules: Client, Config, Game, Map, World Classes: Logger

Constant Summary collapse

LIB_PATH =

Load path

File.expand_path(File.dirname(__FILE__))
CONFIG_PATH =
"#{ROOT_PATH}/config"
CONFIG =
Config::Base.new
UTILS_PATH =

Utils

"#{LIB_PATH}/beefdump/utils"

Class Method Summary collapse

Class Method Details

.load_dir(dir) ⇒ Object

Bootstrap helpers



3
4
5
6
7
8
# File 'lib/beefdump.rb', line 3

def self.load_dir(dir)
  Dir.new(dir).each do |file|
    next unless file =~ /\.rb$/
    load "#{dir}/#{file}"
  end
end