Exemplo n.º 1
0
CCPolygonShape* CCPolygonShape::create(CCPoint* vertices, unsigned int numVertices)
{
    CCPolygonShape* polygon = new CCPolygonShape();
    polygon->initWithVertices(vertices, numVertices);
    polygon->autorelease();
    return polygon;
}