Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
namespace AI
|
|
{
|
|
public class JobGiver_ContinuousMove : AIBase
|
|
{
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
{
|
|
return new MoveJob();
|
|
}
|
|
}
|
|
|
|
|
|
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();
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |