ruby2d 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>MyApp.xcscheme</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
@@ -1,47 +0,0 @@
1
- # application.rb
2
-
3
- module Ruby2D::Application
4
- class << self
5
- @@window = Ruby2D::Window.new
6
-
7
- def get(sym)
8
- @@window.get(sym)
9
- end
10
-
11
- def set(opts)
12
- @@window.set(opts)
13
- end
14
-
15
- def on(event, &proc)
16
- @@window.on(event, &proc)
17
- end
18
-
19
- def off(event_descriptor)
20
- @@window.off(event_descriptor)
21
- end
22
-
23
- def add(o)
24
- @@window.add(o)
25
- end
26
-
27
- def remove(o)
28
- @@window.remove(o)
29
- end
30
-
31
- def clear
32
- @@window.clear
33
- end
34
-
35
- def update(&proc)
36
- @@window.update(&proc)
37
- end
38
-
39
- def show
40
- @@window.show
41
- end
42
-
43
- def close
44
- @@window.close
45
- end
46
- end
47
- end