diff options
| author | realtradam <[email protected]> | 2022-02-08 07:51:34 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-02-08 07:51:34 -0500 |
| commit | 42b452cabe2b7ae6651891616d4d13030c018492 (patch) | |
| tree | ea82f2cb1ab736e97479de44d72b637c43444fb0 /mrblib/texture.rb | |
| parent | 864c710a510be8e318023e34565209f9a24a3ac7 (diff) | |
| download | mruby-raylib-42b452cabe2b7ae6651891616d4d13030c018492.tar.gz mruby-raylib-42b452cabe2b7ae6651891616d4d13030c018492.zip | |
reworking some texture stuff
Diffstat (limited to 'mrblib/texture.rb')
| -rw-r--r-- | mrblib/texture.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mrblib/texture.rb b/mrblib/texture.rb new file mode 100644 index 0000000..4b5dea7 --- /dev/null +++ b/mrblib/texture.rb @@ -0,0 +1,23 @@ +module Raylib + class Texture + # @!visibility private + def h + self.height + end + + # @!visibility private + def h=(height) + self.height = height + end + + # @!visibility private + def w + self.width + end + + # @!visibility private + def w=(width) + self.width = width + end + end +end |
