summaryrefslogtreecommitdiffhomepage
path: root/deprecated/components/04_map.rb
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/components/04_map.rb')
-rw-r--r--deprecated/components/04_map.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/deprecated/components/04_map.rb b/deprecated/components/04_map.rb
deleted file mode 100644
index 5d110f0..0000000
--- a/deprecated/components/04_map.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class Components
- # dragonruby label wrapper
- class Map < Helper::BaseComponent
- attr_accessor :json_name, :json, :x, :y, :tilewidth, :tileheight, :a, :r, :g, :b
-
- def set(json_name: @json_name, x: @x, y: @y, tilewidth: @tilewidth,
- tileheight: @tileheight, a: @a, r: @r, g: @g, b: @b)
- { json_name: @json_name = json_name,
- json: @json = Helper.get_json_tiles(json_name),
- x: @x = x,
- y: @y = y,
- tilewidth: @tilewidth = tilewidth,
- tileheight: @tileheight = tileheight,
- r: @r = r,
- g: @g = g,
- b: @b = b,
- a: @a = a }
- end
- end
-end