merge with ClassCocos2dx