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