Example #1
0
 /** is there a foe of a at cell c? */
 public boolean matches(Cell c, Ant a) {
   return super.matches(c, a) && c.hasAnt() && (c.getAnt().getColor() != a.getColor());
 }