30 lines
649 B
C#
30 lines
649 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace BlueWaterProject
|
|
{
|
|
public enum MoveType
|
|
{
|
|
NONE, // 미설정
|
|
FIXED, // 자리를 지키는 AI
|
|
MOVE // 자리를 움직이는 AI
|
|
}
|
|
|
|
public interface IAiMover : IAiBase
|
|
{
|
|
// Properties
|
|
MoveType AttackMoveType { get; set; }
|
|
|
|
MoveType BeAttackedMoveType { get; set; }
|
|
|
|
bool IsCommanded { get; set; }
|
|
|
|
// Functions
|
|
|
|
void CommandMove(Vector3 targetPos);
|
|
|
|
IEnumerator CommandMoveCoroutine(Vector3 targetPos);
|
|
}
|
|
}
|