Skip to content

Commit

Permalink
olvidado una cosa en el commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge committed Jan 3, 2018
1 parent 9fa9b82 commit 2d57f80
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DBAP3/src/gugelcar/AgenteVehiculo.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,15 @@ public void execute(){
if (bateria <= fuelrate && quedaEnergia())
refuel();
m = decidirExploracion();

/*Jorge: (Alomejor esta parte no hace falta)Pseudocódigo para comprobar el turno
pregunto a agentemapa por turno
si turnoocupado=false
move
enviarturno a agentemapa = false
sino esperar
*/

move(m);
percepciones = recibirPercepciones();
}
Expand Down

0 comments on commit 2d57f80

Please sign in to comment.