Esempio n. 1
0
 public KillEntityAct(Body entity, CreatureAI creature, KillEntityTask.KillType mode)
     : base(creature)
 {
     Mode = mode;
     Entity = entity;
     Name = "Kill Entity";
     Tree = new ForLoop(new Parallel(new Sequence(new GoToEntityAct(entity, creature),
                         new MeleeAct(Agent, entity)), new Wrap(Verify)), 5, true);
 }