2025-08-19 20:22:10 +08:00
|
|
|
namespace AI
|
|
|
|
{
|
|
|
|
public class JobGiver_ContinuousMove : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return new MoveJob();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-08-27 19:56:49 +08:00
|
|
|
|
2025-08-19 20:22:10 +08:00
|
|
|
public class JobGiver_RandomWander : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return new WanderJob();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public class JobGiver_Idel : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return new IdleJob();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-08-27 19:56:49 +08:00
|
|
|
public class JobGiver_AttackJob : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return Managers.EntityManage.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AttackJob() : null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public class JobGiver_AdvancedAttackJob : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return Managers.EntityManage.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AdvancedAttackJob() : null;
|
|
|
|
}
|
|
|
|
}
|
2025-09-06 12:25:55 +08:00
|
|
|
|
|
|
|
public class JobGiver_FleeJob : AIBase
|
|
|
|
{
|
|
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
|
|
{
|
|
|
|
return new FleeJob();
|
|
|
|
}
|
|
|
|
}
|
2025-08-19 20:22:10 +08:00
|
|
|
}
|