Module: Gosu::Tiled

Defined in:
lib/gosu_tiled.rb,
lib/gosu_tiled/map.rb,
lib/gosu_tiled/layer.rb,
lib/gosu_tiled/layers.rb,
lib/gosu_tiled/version.rb,
lib/gosu_tiled/tilesets.rb,
lib/gosu_tiled/empty_tile.rb

Defined Under Namespace

Classes: EmptyTile, Layer, Layers, Map, Tilesets

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.load_json(window, json) ⇒ Object



12
13
14
# File 'lib/gosu_tiled.rb', line 12

def self.load_json(window, json)
  Map.new(window, JSON.load(File.open(json)), File.dirname(json))
end