Movement/Runtime/Bases/MovementBase1D.cs

11 lines
302 B
C#

namespace Syntriax.Modules.Movement
{
public abstract class MovementBase1D : MovementBase
{
protected abstract float moveValue { get; set; }
public override void Move(float x = 0, float y = 0, float z = 0)
=> moveValue = x * BaseSpeed * MovementMultiplier;
}
}