24 lines
724 B
C#
24 lines
724 B
C#
namespace Syntriax.Modules.Movement.VariableMovement.SimpleImplementation
|
|
{
|
|
public class SimpleVariableMovement : IVariableMovement
|
|
{
|
|
protected IVariableMovementAsset _variableMovementAsset = null;
|
|
|
|
public IVariableMovementAsset VariableMovementAsset
|
|
{
|
|
get => _variableMovementAsset;
|
|
set
|
|
{
|
|
_variableMovementAsset = value;
|
|
StateEnabled = false;
|
|
}
|
|
}
|
|
public bool StateEnabled { get; set; } = false;
|
|
|
|
public SimpleVariableMovement() { }
|
|
|
|
public SimpleVariableMovement(IVariableMovementAsset variableMovementAsset)
|
|
=> VariableMovementAsset = variableMovementAsset;
|
|
}
|
|
}
|