getPolygonVertices static method
Implementation
static List<Vector2> getPolygonVertices(ShapeHitbox shape) {
if (shape is PolygonComponent) {
return (shape as PolygonComponent).absoluteVertices;
}
return [];
}
static List<Vector2> getPolygonVertices(ShapeHitbox shape) {
if (shape is PolygonComponent) {
return (shape as PolygonComponent).absoluteVertices;
}
return [];
}