Sha256: f08648e0674379b20c9581b1e4959866b057839104ee48d5ca7765c671d901ea

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

# SPDX-License-Identifier: MIT
require "red_bird/tile_map"

require_relative "tile_sets.rb"

module RedBird::Demo
  module TileMaps
    def self.move_on_tiles(palette)
      return RedBird::TileMap.from_yml(
               Gem.datadir("red_bird-demo"), "/tile_map/move_on_tiles.yml",
               TileSets.move_on_tiles(palette), 0, 0, 256, 240)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
red_bird-demo-0.1.0 lib/red_bird/demo/tile_maps.rb