20 lines
476 B
C#
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();
|
||
|
}
|
||
|
}
|