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