LazyShape

Namespace: Murder.Core.Geometry
Assembly: Murder.dll

public sealed struct LazyShape : IShape

Implements: IShape

⭐ Constructors

public LazyShape(float radius, Point offset)

Parameters
radius float
offset Point

⭐ Properties

Offset

public readonly Point Offset;

Returns
Point

Radius

public readonly float Radius;

Returns
float

SQUARE_ROOT_OF_TWO

public static const float SQUARE_ROOT_OF_TWO;

Returns
float

⭐ Methods

Rectangle(Vector2)

public Rectangle Rectangle(Vector2 addPosition)

Parameters
addPosition Vector2

Returns
Rectangle

GetPolygon()

public virtual PolygonShape GetPolygon()

Returns
PolygonShape

GetBoundingBox()

public virtual Rectangle GetBoundingBox()

Returns
Rectangle