Instant action using c++11 lambda functions for cocos2d-x