public class RecogerCofre extends SituationCalculusAction {
@Override
public EnvironmentState execute(AgentState ast, EnvironmentState est) {
ArqueologicEnvironmentState environmentState = (ArqueologicEnvironmentState) est;
ArqueologicState agState = ((ArqueologicState) ast);
// TODO: Complete Method
/*if (agState.getPercepcionCofre() == ArqueologicAgentPerception.COFRE_LLENO ) {
if(agState.getmundo().getCofre(agState.getPosicion()).getPeso() <= agState.getCapacidadRestante()){
System.out.println("Decidio recoger en "+agState.getPosicion());
agState.agregarCofre(agState.getmundo().getCofre(agState.getPosicion()));