@Override public void execute() { GamePlayer victim = gameServer.getGame().getPlayerByID(robPlayer.getVictimID()); if (victim != null) { robPlayer.setStolenResource(victim.getResources().getRandom(gameServer.getRandom())); } gameServer.getGame().performAction(robPlayer); }
@Override public void removeFromPlayer(GamePlayer player) { player.getVictoryPoints().remove(this); }
@Override public void addToPlayer(GamePlayer player) { player.getVictoryPoints().add(this); }