2023-08-15 23:34:55 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
namespace BlueWaterProject
|
|
|
|
{
|
|
|
|
public enum MoveType
|
|
|
|
{
|
|
|
|
NONE, // 미설정
|
|
|
|
FIXED, // 자리를 지키는 AI
|
|
|
|
MOVE // 자리를 움직이는 AI
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface IAiMover : IAiBase
|
|
|
|
{
|
|
|
|
// Properties
|
2023-08-17 07:57:46 +00:00
|
|
|
MoveType AttackMoveType { get; set; }
|
|
|
|
|
|
|
|
MoveType BeAttackedMoveType { get; set; }
|
2023-08-15 23:34:55 +00:00
|
|
|
|
|
|
|
bool IsCommanded { get; set; }
|
|
|
|
|
|
|
|
// Functions
|
|
|
|
void UpdateMovement();
|
|
|
|
|
|
|
|
void MoveTarget(Vector3 targetPos);
|
|
|
|
}
|
|
|
|
}
|