2024-02-12 20:50:24 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
namespace BlueWaterProject
|
|
|
|
{
|
|
|
|
public interface IPatrol
|
|
|
|
{
|
2024-03-05 03:47:17 +00:00
|
|
|
WayPointInfo[] WayPoints { get; set; }
|
2024-02-12 20:50:24 +00:00
|
|
|
Vector3 OriginalPoint { get; set; }
|
|
|
|
int CurrentIndex { get; set; }
|
|
|
|
int PreviousIndex { get; set; }
|
|
|
|
|
2024-03-05 03:47:17 +00:00
|
|
|
WayPointInfo GetCurrentWayPointInfo();
|
2024-02-12 20:50:24 +00:00
|
|
|
int GetNextIndex();
|
|
|
|
bool HasReachedDestination();
|
|
|
|
void SetMovePoint();
|
|
|
|
void UpdatePositionAndRotation();
|
|
|
|
}
|
|
|
|
}
|