2022-11-13 18:07:54 +03:00
|
|
|
using System;
|
2022-03-08 10:13:27 +03:00
|
|
|
|
2021-12-23 12:41:01 +03:00
|
|
|
namespace Syntriax.Modules.Movement
|
|
|
|
{
|
|
|
|
public interface IMovement
|
|
|
|
{
|
2022-02-19 16:02:38 +03:00
|
|
|
float BaseSpeed { get; set; }
|
2021-12-23 13:41:32 +03:00
|
|
|
float MovementMultiplier { get; set; }
|
2022-03-08 10:13:27 +03:00
|
|
|
|
|
|
|
bool CanTakeOver { get; }
|
|
|
|
|
2022-11-13 18:07:54 +03:00
|
|
|
Action<bool> OnTakeOverStateChanged { get; set; }
|
2022-03-08 10:13:27 +03:00
|
|
|
|
2021-12-23 12:41:01 +03:00
|
|
|
void Move(float x = 0f, float y = 0f, float z = 0f);
|
2022-03-08 10:13:27 +03:00
|
|
|
void ApplyMovement();
|
2021-12-23 12:41:01 +03:00
|
|
|
}
|
|
|
|
}
|