Exemple #1
0
 private boolean isPossible(Command command, Actor actor) {
   Position p = actor.getPosition();
   Element el = p.act(command, 1).get(map);
   return el != null && el.getType() == ElementType.FREE;
 }