summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/raylib.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/mrblib/raylib.rb b/mrblib/raylib.rb
index 0f542c9..fb45ad8 100644
--- a/mrblib/raylib.rb
+++ b/mrblib/raylib.rb
@@ -1,3 +1,5 @@
+Rl = Raylib
+
module Raylib
class << self
attr_accessor :main_loop
@@ -13,8 +15,9 @@ module Raylib
end
end
- def test
- puts 'hello'
+
+ def draw_text(text:, x:, y:, font_size:, color:)
+ self._draw_text(text, x, y, font_size, color)
end
end
end