refactor(ai): IAiContext.Mover→Locomotion,删除 IMover

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-10 12:14:53 +08:00
co-authored by Claude Opus 4.8
parent f143efe4a3
commit 1ab0521061
7 changed files with 34 additions and 57 deletions
+1 -1
View File
@@ -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; }
-16
View File
@@ -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)
}
}
-11
View File
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: bfa62d8e02c8fa644b4c18929b82cbcb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: