Пример #1
0
 public PreyApp() {
   board = new Board();
   strategy = AbsPreyStrategy.getStrategy("F");
   setUpConnection(preyEndpoint, publisherEndpoint);
 }
Пример #2
0
 private PreyMove MakeDecision() {
   // TODO Auto-generated method stub
   return strategy.makeAMove(board);
 }