mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 03:47:13 +08:00
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/57
49 lines
1.3 KiB
C#
49 lines
1.3 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.EntityManager.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AttackJob() : null;
|
|
}
|
|
}
|
|
public class JobGiver_AdvancedAttackJob : AIBase
|
|
{
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
{
|
|
return Managers.EntityManager.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AdvancedAttackJob() : null;
|
|
}
|
|
}
|
|
|
|
public class JobGiver_FleeJob : AIBase
|
|
{
|
|
public override JobBase GetJob(Entity.Entity target)
|
|
{
|
|
return new FleeJob();
|
|
}
|
|
}
|
|
} |