2022-04-04 18:28:10 +03:00
|
|
|
namespace Syntriax.Modules.Movement.TwoDimensionalImplementations
|
2022-03-08 10:13:27 +03:00
|
|
|
{
|
|
|
|
public abstract class OneWay2DMovementBase : TwoDimensionalMovementBase
|
|
|
|
{
|
|
|
|
protected abstract float moveValue { get; set; }
|
|
|
|
|
|
|
|
public override void Move(float x = 0, float y = 0, float z = 0)
|
|
|
|
=> moveValue = x * BaseSpeed * MovementMultiplier;
|
|
|
|
}
|
|
|
|
}
|