refactor(ai): IAiContext.Mover→Locomotion,删除 IMover
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BaseGames.AI
|
||||
public interface IAiContext
|
||||
{
|
||||
ISensor Sensor { get; }
|
||||
IMover Mover { get; }
|
||||
IEnemyLocomotion Locomotion { get; }
|
||||
ICombatant Combat { get; }
|
||||
IActorVitals Vitals { get; }
|
||||
Blackboard Blackboard { get; }
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.AI
|
||||
{
|
||||
/// <summary>移动能力接口(第 3 阶段由 MoverAdapter 适配移动系统)。</summary>
|
||||
public interface IMover
|
||||
{
|
||||
void MoveTo(Vector2 target);
|
||||
void FacePlayer();
|
||||
void Stop();
|
||||
void WalkRandom();
|
||||
void LookAround();
|
||||
void UseChaseSpeed(); // 切到追击速度(适配器内部读配置的 RunSpeed)
|
||||
void UsePatrolSpeed(); // 切到巡逻速度(适配器内部读配置的 WalkSpeed)
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bfa62d8e02c8fa644b4c18929b82cbcb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user