diff options
| author | realtradam <[email protected]> | 2021-05-08 05:21:24 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-05-08 05:21:24 -0400 |
| commit | b1ac1abcdbe11c0bb465fe042eaba2ab9e012a5a (patch) | |
| tree | e10790fc1858649874f20ca36efd09cc3a07cfa0 /tileset.rb | |
| parent | 625042cef2f11211ab4cae145ea5cf309994312e (diff) | |
| download | tileset-map-editor-master.tar.gz tileset-map-editor-master.zip | |
Diffstat (limited to 'tileset.rb')
| -rw-r--r-- | tileset.rb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -28,12 +28,13 @@ class Tileset end end - def create_image(column:, row:, x: 0, y: 0) + def create_image(column:, row:, x: 0, y: 0, z: 0, width: self.width, height: self.height) Image.new(tileset[column][row], width: width, height: height, x: x, - y: y) + y: y, + z: z) end private |
