11 lines
361 B
C#
11 lines
361 B
C#
namespace Syntriax.Modules.Movement.Implementations.TwoDimensional
|
|
{
|
|
public abstract class OneDirectional2DMovementBase : TwoDimensionalMovementBase
|
|
{
|
|
protected abstract float moveValue { get; set; }
|
|
|
|
public override void Move(float x = 0, float y = 0, float z = 0)
|
|
=> moveValue = x * BaseSpeed * MovementMultiplier;
|
|
}
|
|
}
|