a planewar with cocos2dx