cocos2d/cocos2d-x — pull request #5341 by shinriyo (2014-02-13 02:49:02+00:00)
Title: for get CCPoint

I think it resolves DRY

it is troublesome
CCDictionary *spawnPoint = objectGroup->objectNamed("SpawnPoint");
int x = ((CCString)*spawnPoint->valueForKey("x")).intValue();
int y = ((CCString)*spawnPoint->valueForKey("y")).intValue();
_player->setPosition(ccp(x,y));