PushAwayComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct PushAwayComponent : IComponent
Implements: IComponent
⭐ Constructors
public PushAwayComponent(int size, int strength)
Parameters
size
int
strength
int
⭐ Properties
Size
public readonly float Size;
Returns
float
Strength
public readonly float Strength;
Returns
float
⭐ Methods
GetBoundingBox(IMurderTransformComponent)
public Rectangle GetBoundingBox(IMurderTransformComponent position)
Parameters
position
IMurderTransformComponent
Returns
Rectangle
GetBoundingBox(Vector2)
public Rectangle GetBoundingBox(Vector2 position)
Parameters
position
Vector2
Returns
Rectangle
⚡