Exemplo n.º 1
0
 public IAction chooseAction(IGame game) {
   if (game.player().hunger() == Hunger.FAINTING) return Actions.Pray();
   else return null;
 }
Exemplo n.º 2
0
 public IAction chooseAction(IGame game) {
   next = next % smallCircle.length;
   return Actions.Move(smallCircle[next++]);
 }