blob: 53dc28fa9fd307fd2f46353ea688aeb422ffdc96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class Raylib
class << self
attr_accessor :main_loop
#def call_main_loop
# self.main_loop.call
#end
def window_open(&block)
self.main_loop = block
self.execute_main_loop
end
end
end
|