Sanyu battle system built by cocos2dx.