Exemplo n.º 1
0
 public override void AddTileCreature(Creature creature, Position position, 
     byte stackpos)
 {
     if (!creature.AttackableByMonster()) {
         return;
     }
     potentialTargets.Add(creature);
 }
Exemplo n.º 2
0
 public override void AddCreatureMove(Direction direction, Creature creature,
     Position oldPos, Position newPos, byte oldStackpos, byte newStackpos)
 {
     if (!creature.AttackableByMonster()) {
         return;
     }
     potentialTargets.Add(creature);
     PerformThink();
 }