VelocityComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct VelocityComponent : IComponent
Implements: IComponent
⭐ Constructors
public VelocityComponent(float x, float y)
public VelocityComponent(Vector2 velocity)
Parameters
velocity
Vector2
⭐ Properties
Velocity
public readonly Vector2 Velocity;
Returns
Vector2
⚡