OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IPatrol.cs

20 lines
476 B
C#

using UnityEngine;
// ReSharper disable once CheckNamespace
namespace BlueWaterProject
{
public interface IPatrol
{
WayPoint[] WayPoints { get; set; }
Vector3 OriginalPoint { get; set; }
int CurrentIndex { get; set; }
int PreviousIndex { get; set; }
WayPoint GetCurrentWayPoint();
int GetNextIndex();
bool HasReachedDestination();
void SetMovePoint();
void UpdatePositionAndRotation();
}
}