how to do things like c++ Multiple Inheritance in lua?

is there a way in Lua to implement things like this? :
class myclass : public cocos2d::CCSprite, public cocos2d::CCTargetedTouchDelegate

Basically I just wanna create a sprite which is also touch-awared.
is there an easy way to do so, or modifying cpp code must be involved?

alex kwong wrote:

is there a way in Lua to implement things like this? :
class myclass : public cocos2d::CCSprite, public cocos2d::CCTargetedTouchDelegate

Basically I just wanna create a sprite which is also touch-awared.
is there an easy way to do so, or modifying cpp code must be involved?

see : https://github.com/dualface/quick-cocos2d-x
quick-cocos2d-x / framework / shared / functions.lua : function class(classname, super)