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

20 lines
488 B
C#
Raw Normal View History

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