module DXRuby::Tiled::LoopTileLayer

Public Instance Methods

[](x, y) click to toggle source
# File lib/dxruby_tiled/tilelayer.rb, line 99
def [](x, y)
  @data[((y - @y1) % @height) * @width + ((x - @x1) % @width)]
end
[]=(x, y, value) click to toggle source
# File lib/dxruby_tiled/tilelayer.rb, line 103
def []=(x, y, value)
  @data[((y - @y1) % @height) * @width + ((x - @x1) % @width)] = value
end
include?(x, y) click to toggle source
# File lib/dxruby_tiled/tilelayer.rb, line 107
def include?(x, y)
  true
end
member?(x, y) click to toggle source
# File lib/dxruby_tiled/tilelayer.rb, line 111
def member?(x, y)
  true
end