Example #1
0
CCPoint* ccpCreate(float x, float y)
{
    CCPoint* pRet = new CCPoint(x, y);
    pRet->autorelease();
    return pRet;
}
Example #2
0
CCPoint* ccpCreate(CCPoint pos)
{
    CCPoint* pRet = new CCPoint(pos);
    pRet->autorelease();
    return pRet;
}