11 lines
352 B
C#
11 lines
352 B
C#
namespace Syntriax.Modules.Movement.TwoDimensionalImplementations
|
|
{
|
|
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;
|
|
}
|
|
}
|