rubymotion-community / Joybox

Cocos2D & Box2D Wrapper for Ruby Motion - Currently out of date an unmaintained :-(
MIT License
280 stars 37 forks source link

Separate some methods about touch from `motion/joybox-ios/core/layer.rb` for mix-in to other Layer class #57

Closed meganemura closed 11 years ago

meganemura commented 11 years ago

This issue was #54. create new pull request by my git push mistake.

i suggest to separate some methods about touch from motion/joybox-ios/core/layer.rb.

i add layer_touchable.rb. and mixed-in from layer.rb and new layer_color.rb This enable also LayerColor instance to be receive some methods for touch.

i couldn't find such module for mix-in in sources. so this module name and location may be bad for your convention.

please consider.

meganemura commented 11 years ago

Add module for osx and specs.

NSCoder commented 11 years ago

Sorry for not merging this before, but we are having a little focus on the benchmark problem (https://groups.google.com/forum/#!topic/joybox-wrapper/nsMvk002NFk) :'(

meganemura commented 11 years ago

Thanks for merging. I know that benchmark problem on the forum. I'm ok!