AgentImpulseComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct AgentImpulseComponent : IComponent

Implements: IComponent

⭐ Constructors

public AgentImpulseComponent(Vector2 impulse, T? direction)

Parameters
impulse Vector2
direction T?

public AgentImpulseComponent(Vector2 impulse)

Parameters
impulse Vector2

⭐ Properties

Direction

public readonly T? Direction;

Returns
T?

Impulse

public readonly Vector2 Impulse;

Returns
Vector2