Sha256: 5d43952e057a93923162e566d398d4725fffb10815c46042f8b99b5ef4a266c1
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
class UITouch # We need a method instead of the alias method because of # the 'Type `{CGPoint=ff}@:@' not precompiled' error def location_in_view(view) locationInView(view) end def location locationInView(self.view).to_opengl_coordinates end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
joybox-0.0.5 | lib/joybox/cocos2d/common/ui_touch.rb |
joybox-0.0.4 | lib/joybox/cocos2d/common/ui_touch.rb |
joybox-0.0.3 | lib/joybox/cocos2d/common/ui_touch.rb |