return false;
}
else {
ActionLookAtZone action = new ActionLookAtZone();
try {
action.playerActed(new ActionEvent(CommandLineLauncher
.getGame(), CommandLineLauncher.getCurrentPlayer(),
zone, null, null));
} catch (ActionException e) {
e.printStackTrace();
}
CommandLineLauncher.getGame().registerAction(action);
currentAction = action;
}
}
else if (split.length == 3) {
Zone zone = CommandLineLauncher.getGame().getPlayers().get(
Integer.valueOf(split[1])).getZones().get(split[2]);
if (zone == null) {
System.out.println("zone inconnue");
return false;
}
else {
ActionLookAtZone action = new ActionLookAtZone();
currentAction = action;
try {
action.playerActed(new ActionEvent(CommandLineLauncher
.getGame(), CommandLineLauncher.getCurrentPlayer(),
zone, null, null));
} catch (ActionException e) {
e.printStackTrace();
}