コード例 #1
0
ファイル: Foe.java プロジェクト: shahidminhas/abc
 /** 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());
 }