2022-11-13 17:43:30 +03:00
|
|
|
namespace Syntriax.Modules.Movement.Implementations.TwoDimensional
|
2022-03-08 10:13:27 +03:00
|
|
|
{
|
2022-11-13 17:43:30 +03:00
|
|
|
public abstract class OneDirectional2DMovementBase : TwoDimensionalMovementBase
|
2022-03-08 10:13:27 +03:00
|
|
|
{
|
|
|
|
protected abstract float moveValue { get; set; }
|
|
|
|
|
|
|
|
public override void Move(float x = 0, float y = 0, float z = 0)
|
|
|
|
=> moveValue = x * BaseSpeed * MovementMultiplier;
|
|
|
|
}
|
|
|
|
}
|